Field codes: SectionPages field

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.


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


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.


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:


Applies To: Word 2010, Word 2016, Word 2016 for Mac, Word 2007, Word 2013

Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Change language