Can Word 2007 do batch find/replace?

Status
Not open for further replies.
G

Guest

I have many Word 2007 files in which I wish to make the same find/replace.
Is there any easy way to do this? I am on WinXP, but soon should have Vista,
might it be easier to wait?
 
J

Jay Freedman

I have many Word 2007 files in which I wish to make the same find/replace.
Is there any easy way to do this? I am on WinXP, but soon should have Vista,
might it be easier to wait?

Word 2007 does batch find and replace exactly the same way as all
versions from 97 through 2003: by programming a macro to do it. The
necessary macro is at
http://www.word.mvps.org/FAQs/MacrosVBA/BatchFR.htm. The only change
you would have to make to work with the new file format in Word 2007
is to change "*.doc" to "*.docx". If you also have macro-enabled
documents, you would have to run the macro again for "*.docm".

Whether you're on Windows XP or Vista will make absolutely no
difference.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
J

Jay Freedman

Jay said:
Word 2007 does batch find and replace exactly the same way as all
versions from 97 through 2003: by programming a macro to do it. The
necessary macro is at
http://www.word.mvps.org/FAQs/MacrosVBA/BatchFR.htm. The only change
you would have to make to work with the new file format in Word 2007
is to change "*.doc" to "*.docx". If you also have macro-enabled
documents, you would have to run the macro again for "*.docm".

Whether you're on Windows XP or Vista will make absolutely no
difference.

And before somebody comes along to correct me, you could set up the macro to
handle both docx and docm files by changing the "*.doc" to "*.doc?" where
the question-mark wildcard character will match any letter.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Status
Not open for further replies.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top