SectionPages

The SECTIONPAGES field inserts the total number of pages in the current section.

Syntax

{ SECTIONPAGES \* FormattingSwitch }

Switches

SECTIONPAGES supports sequence formatting switches (see the "Sequence Formatting Switches" section earlier in this chapter) and numeric formatting switches (see the "Numeric Formatting Switches" section earlier in this chapter).

Examples

To insert the total number of pages in the section, specifying a comma between thousands, use the following field:

{ SECTIONPAGES \# "#,##0" }

→ For more information about working with sections, see Chapter 3, "More Day-to-Day Productivity Tools".

Get Special Edition Using Microsoft® Word 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.