Hi Ulodesk,
The simplest way of doing this, is to use a SET field in each Section to create a bookmark that records the SECTIONPAGES value for that Section. Thus you might have:
{SET Sctn1 {SECTIONPAGES}}
Then, for the continuous page numbering in Section 2, you'd use a field coded as:
{={PAGE}+Sctn1 \# 0}
Naturally, you'd need to have the headers for Sections 1 & 2 unlinked.
If you've got 3 or more Sections, the SET field's bookmark needs to increment. So you could use a field coded as:
{SET Sctn{SECTION} {SECTIONPAGES}}
and, in Section 3's header (again unlinked) you'd use something like:
{={PAGE}+Sctn1+Sectn2 \# 0}
and so on (eg {={PAGE}+Sctn1+Sectn2+Sctn3+Sectn4 \# 0})
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|