View Single Post
 
Old 02-01-2016, 02:58 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

You could put a field coded along the lines of:
{SET Sctn# {SECTIONPAGES}}
into each Section (e.g. in the header/footer - but only if they're not linked to the previous Sections), where # is the Section No., then insert cross-references to the Sctn# bookmarks wherever you want the output to appear.

If the above field is inserted into the Section header/footer, a Print Preview should be sufficient to update it. Selecting your cross-references to the Sctn# bookmarks and pressing F9 would then update that, too. If it's somewhere in the body of the document, pressing Ctrl-A, F9 would update the lot. No VBA required.

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote