Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

The SectionPages field inserts the total number of pages in a section. When using this field, you should restart page numbering from 1 in each section after the first section.

Syntax

When you view the SectionPages field in your document, the syntax looks like this:

{ SECTIONPAGES }

Note:  A field code tells the field what to show. Field results are what’s shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Example

To print text such as "Page 4 of 29" on each page of a document you've divided into sections, insert the following fields and text in the header or footer:

Page { PAGE } of { SECTIONPAGES }

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Office Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×