How to run macro to several files

J

Joe

Hi

I've got many WordPerfect files that I need to convert to Word. After conversion I have a macro that goes through a mail merge and creates labels

The batch wizard seems to do the trick for converting the WordPerfect files. Can anyone help provide code for how to apply a macro to each of the files in a specified folder and as part of the macro to automatically save the file with its current name

Thanks in advance
Joe
 
J

Jonathan West

Hi Joe,

The following article provides an example of the sort of thing you want to
do.

Find & ReplaceAll on a batch of documents in the same folder
http://www.mvps.org/word/FAQs/MacrosVBA/BatchFR.htm

--
Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup

Joe said:
Hi -

I've got many WordPerfect files that I need to convert to Word. After
conversion I have a macro that goes through a mail merge and creates labels.
The batch wizard seems to do the trick for converting the WordPerfect
files. Can anyone help provide code for how to apply a macro to each of the
files in a specified folder and as part of the macro to automatically save
the file with its current name?
 

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