Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Dunzo Salcedo Dunzo Salcedo is offline
external usenet poster
 
Posts: 2
Default Header macro for multiple documents

Hello,

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

Thank you!
Dunzo
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Greg Maxey Greg Maxey is offline
external usenet poster
 
Posts: 264
Default Header macro for multiple documents

On Nov 14, 8:33 pm, Dunzo Salcedo
wrote:
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

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Dunzo Salcedo Dunzo Salcedo is offline
external usenet poster
 
Posts: 2
Default Header macro for multiple documents

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!

"Greg Maxey" wrote:

On Nov 14, 8:33 pm, Dunzo Salcedo
wrote:
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


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing a Header in Multiple Documents without opening them all? DBD Microsoft Word Help 2 October 10th 06 03:55 AM
Activate Boiler Macro in Word 2003 for combing multiple documents Bill Microsoft Word Help 2 May 28th 06 09:41 PM
How can I print multiple copies of multiple documents PeterK Microsoft Word Help 0 March 23rd 06 09:02 AM
print multiple documents or merge multiple documents into one EE in Need Microsoft Word Help 3 July 16th 05 12:38 AM
How do I change header in multiple documents at the same time? lbeeney Microsoft Word Help 2 March 22nd 05 11:03 PM


All times are GMT +1. The time now is 04:00 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"