Re: How To Convert Thousands of Works 7.0 Files to Word 2007 Simultaneously

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Once again, Graham, thank you very much for your attention to this topic!
(I'm sure many other users will appreciate this also because, as I reported
at the start of this thread, I looked around extensively and I couldn't find
any instructions about how to achieve this result but I'm sure many users
wish to make such mass or batch conversions.) I should clarify that I
didn't think would be "simple to execute"! With *NO* abilities of my own in
this area at all, I don't regard *any* of this as simple!

I'll download the code from your site and I'll also check Greg Maxey's
user-defined batch code. This will help me learn about batch programs.

My data directory occupies its own partition of c. 32.25 GB on one of my two
internal hard drives but, as I explained, it's extensively branched, with
more than 52K folders and > 94K files.

I'll want to back up my entire data directory first and I'll then try your
code on a few sub-directories before I "let it rip" from the root.

Yes, I fully understand that I'll use this code at my own risk and without
any recourse to you. I'll let you know how this works out.

Jeff Hook, NJ, USA


"Graham Mayor" <gmayor@xxxxxxxxxxxxxxxxxx> wrote in message
news:uZYNqEaxJHA.2656@xxxxxxxxxxxxxxxxxxxxxxx
The advantage of the macro I posted, over yours, was that mine runs on a
complete folder, whereas yours runs on a single file. If your files are not
scattered haphazardly over the hard drive, then the documents will be in a
limited number of places which should be easy to identify.

Unfortunately what you propose is not quite as simple to execute as you
imagine. However true to my word, I have investigated further and I have
located a procedure which I believe will do what you propose. As it is
somewhat complex, I have decided not to post the code here, but have
incorporated it as an add-in for Word 2007. You can download it from my web
site via the following link.
http://www.gmayor.com/Extras/WorksConverter.dotm

Save to the Word startup folder as defined at Word Options > Advanced > File
locations > Startup (by default - C:\Documents and
Settings\%username%\Application Data\Microsoft\Word\STARTUP) and it will
load with Word

When loaded it puts a button on the Developer Tab of the ribbon (Convert
Works WPS format). If the developer tab is not displayed add it from Word
Options > Popular.

I have tested it with a limited number of wps files and it will convert them
to docx in the manner already discussed. It will also access the sub folders
under the folder you select from the initial dialog when the macro is run.
However, searching for 20k files across a complete hard drive is uncharted
waters and not something I have been able to test. However you may set the
folder to search from as the root of the drive and it will search the whole
drive.

While running, it may blank the Word screen, and when run on a large drive
it will take some time to find the files in question, let alone process
them. When finished it will return to the Word screen, with no document
open, at the Home tab.

I offer the add-in 'as seen' and accept no responsibility for any problems
that you may encounter when running it.

Fellow MVP Greg Maxey has a different function available on his web site -
http://gregmaxey.mvps.org/Process_Batch_Folder.htm which has a 'User
Defined' process option that could be modified to convert the files, should
you wish to investigate another approach.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


.



Relevant Pages

  • Re: Print all documents AND run a macro
    ... I just wanted to thank Graham again a year later. ... Word MVP web site http://word.mvps.org ... The macro will prompt for the folder then will open each *.doc in ...
    (microsoft.public.word.docmanagement)
  • Re: auto "save-as" multiple docs at the same time
    ... Thanks Graham. ... As far as the recursive folder suggested link, I have not tried that yet as ... Word MVP web site http://word.mvps.org ... Dim strDocName() As String ...
    (microsoft.public.word.docmanagement)
  • Re: Startup Directory
    ... Thanks, Graham, for replying so soon. ... will set the default Word Documents folder to any available folder. ... Word MVP web site http://word.mvps.org ... directory in the desktop shortcut to Word; ...
    (microsoft.public.word.docmanagement)
  • Re: Manually Created Web Site Does Not Work - What am I Missing?
    ... For each different Web site ... have the same name or folder structure as my VS project. ... The ASP.NET Dev Server runs as the Administrator account in VS 2008. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hit Counter not Working
    ... You must publish from the exact same folder that is on the web site ... Make a new folder ... This is a post for the server groups and forums. ... Sharepoint Admin to extend the site with FP extensions. ...
    (microsoft.public.frontpage.programming)