C
ccrites
Hello,
I'm having a very strange problem with .OddAndEvenPagesHeaderFooter. I
need to have the setting in my document as I want odd pages to be
formatted to right align and the opposite for even pages. Anyway,
whenever I execute this line of code:
Selection.PageSetup.OddAndEvenPagesHeaderFooter = True
I get three extra blank pages added into my document. I can't figure
out why this is happening. The only problem I can think of is that
this line of code is getting executed after there is already 5 or 6
preceding pages in the document that have the setting set to false.
Possibly this line of code is resetting their settings and adding in
pages when Word sees that their headers and footers are not different.
If this is the case, how do I make this setting only applicable to the
pages following these 5 or 6. And if this is not the case, what is the
problem?
Thanks in advance. Casey.
I'm having a very strange problem with .OddAndEvenPagesHeaderFooter. I
need to have the setting in my document as I want odd pages to be
formatted to right align and the opposite for even pages. Anyway,
whenever I execute this line of code:
Selection.PageSetup.OddAndEvenPagesHeaderFooter = True
I get three extra blank pages added into my document. I can't figure
out why this is happening. The only problem I can think of is that
this line of code is getting executed after there is already 5 or 6
preceding pages in the document that have the setting set to false.
Possibly this line of code is resetting their settings and adding in
pages when Word sees that their headers and footers are not different.
If this is the case, how do I make this setting only applicable to the
pages following these 5 or 6. And if this is not the case, what is the
problem?
Thanks in advance. Casey.