Adding the filename and path in the footer to a large group of fil

A

Andrea

Is there a way to create a "office macro" that will take a bunch of Word
Documents and place the filename and path in the footer. I could create a
global macro in word, but would still need to open each document to apply the
macro.

Any ideas?
Andrea
 
J

Jean-Guy Marcil

Andrea said:
Is there a way to create a "office macro" that will take a bunch of Word
Documents and place the filename and path in the footer. I could create a
global macro in word, but would still need to open each document to apply the
macro.

On the following page you will find code to do a Find/Replace in all files
in afolder.
http://word.mvps.org/faqs/macrosvba/BatchFR.htm

Just remove the code about finding/replacing, and insert your code about
modifying the footer instead...
 

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