How to: Insert Page Numbers in Header or Footer

While editing the document's header or footer, you can insert fields specifying the current page number or the total number of pages in a document.

  1. Enter the header/footer editing mode. For this, double-click the existing header or footer, or use the Header or Footer command button to insert a new one.

    InsertHeader_InsertFooter_Example

  2. To insert the number of the current page or the total number of pages in a document, use the Page Number and Page Count buttons on the Header & Footer toolbar or Ribbon page group.

    InsertPageNumber_InsertPageCount_Example

    - or -

    Insert the PAGE or NUMPAGES field manually. To do this, press the CTRL+F9 key combination to insert a field. A pair of braces appears, indicating the code range of the field. Type in 'PAGE' to denote a page number or 'NUMPAGES' for the total number of pages in the document. Then right-click the field and select Update Field in the context menu.

    NumberOfPages_Example

See Also