Header macro for multiple documents

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Is there a way to apply one header for multiple word 2003 documents using a
macro?

Thank you!
Dunzo
 
Hello,

Is there a way to apply one header for multiple word 2003 documents using a
macro?

Thank you!
Dunzo

See: http://gregmaxey.mvps.org/Process_Batch_Folder.htm

For an example of a macro to process a batch of files.

Use code something like this to process the headers:

Dim oSection As Section
Dim i As Long
For Each oSection In ActiveDocument.Sections
For i = 1 To 3
oSection.Headers(i).Range.Text = "Text you want in the header"
Next
Next
 
Thank you for your reply. Its actually a header that will be changed every
now and again. Is there a way to prompt a user to complete a multi-line
textbox and have that textbox fill the rest of the documents as a header?

Thanks!
 

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

Back
Top