HOW SECTIONPAGES IS EVALUATED WITHIN A HEADER AND FOOTE
When Word evaluates fields within a Header and Footer, the propertie
of the page's first section are used. This can cause problems. Fo
example, consider the following Legal Agreement:
> LEGAL AGREEMENT TITLE
> [------- Continuous Break -------]
>
> Column 1 Line 1 Column 2 Line 1
> Column 1 Line 2 Column 2 Line 2
> Column 1 Line 3 Column 2 Line 3
> ...etc
>
> [Footer: Page {PAGE} of {SECTIONPAGES}]
When SECTIONPAGES is evaluated within the footer, the properties of th
first section, "LEGAL AGREEMENT TITLE", are used. Since the "LEGA
AGREEMENT TITLE" section spans less than one page, SECTIONPAGES withi
the footer would be evaluated as "1".
If this document spanned 5 pages, the unfortunate consequence would b
that the pages would be numbered: "Page 1 of 1", "Page 2 of 5", "Page
of 5", "Page 4 of 5", and "Page 5 of 5".
Does anyone have any suggestions as how to get around this proble
within Word? The example I'm using above is a 5-page section tha
appears within a larger document.
Dejay Clayto
Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS - 26 Feb 2004 08:27 GMT
Insert a bookmark on the last page of the section and use a cross reference
to the page number of the bookmark.

Signature
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
>
> HOW SECTIONPAGES IS EVALUATED WITHIN A HEADER AND FOOTER
[quoted text clipped - 30 lines]
> ------------------------------------------------
> ~~ Message posted from http://www.WordForums.com/