Re: OddAndEvenPagesHeaderFooter
- From: "Jean-Guy Marcil" <NoSpam@LeaveMeAlone>
- Date: Wed, 17 May 2006 20:23:16 -0400
ccrites@xxxxxxxxxxx was telling us:
ccrites@xxxxxxxxxxx nous racontait que :
For my section breaks, I am only using 'wdSectionBreakNextPage' and
there is one after each of the first 6 pages before I try to run this
code on the 7th page. The line of code that is giving me problems
comes directly after one of those breaks (at the end of the 6th) and I
have tried
Selection.Sections(1).PageSetup...,
ActiveDocument.Range(Start:=Selection.Start,
End:=ActiveDocument.Content.End).PageSetup...
and
ActiveDocument.Sections(Section#).PageSetup...
and nothing seems to be working. Every single one of these will grab
the entire document and add a second blank page to sections where the
'OddAndEvenPagesHeaderFooter' setting is True. However, it skips
those that are set to false. What am I doing wrong here?
As I wrote before... Have you tried using
.LinkToPrevious = False
immediately after inserting the new section, but before making any changes
to the new section?
If you do try, and it still does not work, can you post the exact code you
used and a description of the document content before executing the code?
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@xxxxxxxxxxxxxxxxxxxxxxx
Word MVP site: http://www.word.mvps.org
.
- References:
- Re: OddAndEvenPagesHeaderFooter
- From: Jean-Guy Marcil
- Re: OddAndEvenPagesHeaderFooter
- From: ccrites
- Re: OddAndEvenPagesHeaderFooter
- From: ccrites
- Re: OddAndEvenPagesHeaderFooter
- From: Dave Lett
- Re: OddAndEvenPagesHeaderFooter
- From: ccrites
- Re: OddAndEvenPagesHeaderFooter
- Prev by Date: Re: Passing a variable?
- Next by Date: Re: OddAndEvenPagesHeaderFooter
- Previous by thread: Re: OddAndEvenPagesHeaderFooter
- Next by thread: Re: OddAndEvenPagesHeaderFooter
- Index(es):
Relevant Pages
|