![]() |
#1
|
|||
|
|||
![]()
I have a template that has different odd and even page headers/footers. I am trying to write a macro that will insert a landscape page in the document then depending if the page is odd or even, insert a different footer. The footers contain graphics so I have save the entire footer contents as AutoText.
At the moment my macro inserts a section break, unlinks the header/footer, changes the page orientations then deletes the current footer. Where I am having trouble is inserting different Autotext into the footer depending on whether the page is odd or even. Any ideas? Thanks |
#2
|
||||
|
||||
![]()
If you configure the document page layout to use 'different odd and even' (which applies to the whole document), you can simply apply both footers and let Word take care of the niceties. That also means you'll have the correct footer if someone makes enough edits to whatever precedes the landscape section the change the pagination.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
footer, odd/even, vba word |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
2 separate page nos on same page/footer | klsharp | Word | 1 | 09-23-2013 08:29 PM |
![]() |
onemorecupofcoffee | Word | 18 | 09-04-2013 04:31 PM |
![]() |
ravl13 | Word | 2 | 11-20-2012 07:40 AM |
Second Page Footer | Mendopaul | Word | 2 | 10-30-2012 12:36 PM |
How to save the current page in a new file with all the page settings (header, footer | Jamal NUMAN | Word | 6 | 03-15-2012 03:27 PM |