![]() |
|
#12
|
||||
|
||||
|
Hi sqzdog,
I'm travelling with only intermitent internet access, hence the delay in replying. What you're asking is a rather trivial task (and should have been fairly obvious) - change: With wdDoc.Sections(1).Footers(wdHeaderFooterPrimary).R ange to: With wdDoc.Sections(1).Headers(wdHeaderFooterPrimary).R ange or, if you want to combine both routines into the same code, simply duplicate the: With wdDoc.Sections(1).Footers(wdHeaderFooterPrimary).R ange ... End With block and make the above change to one of them.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any easy way to separate a Word document into separate files? | SamHelm | Word | 0 | 08-21-2010 05:29 AM |
Cannot open two separate MS word window
|
bunny_biceps | Word | 2 | 08-17-2010 01:51 PM |
| Headers and Footers | OverAchiever13 | Word | 1 | 05-27-2010 01:30 PM |
CHALLENGE! Issue sorting data containing relative references on a separate tab
|
lax828 | Excel | 3 | 01-07-2010 11:28 AM |
| Can I separate a word Doc (docx) from the template used to create it (dotx)? | paulnevlud | Word | 2 | 12-14-2009 10:13 AM |