![]() |
|
|
|
#1
|
||||
|
||||
|
Which header? Each Section of a document has three headers (and footers) - primary, first page and even, potentially giving many headers in a single document. At the most basic level, you'd populate the first Section's primary header with code like: Code:
ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).Range.Text = "my text"
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to Pass Arguments in a Formula?
|
tinfanide | Excel Programming | 2 | 10-13-2014 06:10 AM |
How to Pass Document to this Sub
|
ilcaa72 | Word VBA | 1 | 01-28-2014 03:04 PM |
Can pass .expression as a parameter?
|
tinfanide | PowerPoint | 4 | 12-28-2012 06:14 PM |
| How to pass parameters to a .msg file? | HereNow | Outlook | 0 | 11-05-2012 10:38 AM |
| How to use the content of a combobox for {IF} field? | Melaanie | Word | 0 | 06-14-2010 02:00 AM |