I
IndianSummer
Hi,
I am trying to automate the insertion of a landscape page into a portrait
document - in ver 2003. So far i have successfully created a macro that
completes the steps as outlined at the MVPs' site -
http://word.mvps.org/faqs/formatting/LandscapeSection.htm. Thanks heaps Bill,
Suzanne and Dave.
My issue now is that the document has different odd/even page
headers/footers - I need help getting those settings right in the macro.
At the moment, my macro does turn off "same as previous" in both header and
footer, and adjusts them to the wider page width for the FIRST landscape page
(which will be either odd or even depending on where the user was when they
inserted the landscape page).
But when the user inserts enough text or graphics that the landscape section
runs over more than one page, the header and footer on the second page, which
will be either even or odd, depending.., kicks in set to "same as previous"
and shows with the portrait page settings.
Can anyone advise the best approach? Do I have to make my macro insert a
page break in the new landscape section, so I can attack the header/footer
settings for both odd and even pages? If so, how does my macro then find the
right page break to delete it again? I need the end result to be a single
landscape page, but with both odd and even header/footers to work, in case...
Any suggestions gratefully received, thanks in advance. And happy new year
to all
regards,
Helen
I am trying to automate the insertion of a landscape page into a portrait
document - in ver 2003. So far i have successfully created a macro that
completes the steps as outlined at the MVPs' site -
http://word.mvps.org/faqs/formatting/LandscapeSection.htm. Thanks heaps Bill,
Suzanne and Dave.
My issue now is that the document has different odd/even page
headers/footers - I need help getting those settings right in the macro.
At the moment, my macro does turn off "same as previous" in both header and
footer, and adjusts them to the wider page width for the FIRST landscape page
(which will be either odd or even depending on where the user was when they
inserted the landscape page).
But when the user inserts enough text or graphics that the landscape section
runs over more than one page, the header and footer on the second page, which
will be either even or odd, depending.., kicks in set to "same as previous"
and shows with the portrait page settings.
Can anyone advise the best approach? Do I have to make my macro insert a
page break in the new landscape section, so I can attack the header/footer
settings for both odd and even pages? If so, how does my macro then find the
right page break to delete it again? I need the end result to be a single
landscape page, but with both odd and even header/footers to work, in case...
Any suggestions gratefully received, thanks in advance. And happy new year
to all
regards,
Helen