View Single Post
 
Old 12-07-2011, 05:05 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,010
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote