Field codes: Section field

Applies To
Word for Microsoft 365 Word for Microsoft 365 for Mac Word 2024 Word 2024 for Mac Word 2021 Word 2021 for Mac

The Section field inserts the number of the current section.

To insert the Section field, select Insert > Quick Parts > Field. In the Field names list, select Section, and then select OK.

Syntax

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

{ SECTION }

Note

This content applies to desktop versions of Word for Windows and Mac (including Word with a Microsoft 365 subscription).

A field code tells the field what to display. Field results are what is 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 on Windows or Option+F9 on Mac.

Example

To print text such as "Page 4 of Section 2" on each page of a document, insert the following fields and text in the header or footer:

Page ⁠{⁠ PAGE ⁠}⁠ of Section ⁠{⁠ SECTION ⁠}⁠