Field codes: NumPages field

Microsoft Office Word 2003

To print page numbers such as "Page 12 of 45" on each page of a document, insert the following text and fields in a header or footer. To insert the PAGE field, click Insert Page Number Button image on the Header and Footer toolbar.

Page { PAGE } of { NUMPAGES }

If the page numbering starts on a page number other than 1, use an = (Formula) field to compute the total page number count. To determine the starting page number for the active document, (StartingNumber), click Page Numbers on the Insert menu, and then click Format.

Page { PAGE } of { = (StartingNumber - 1) + { NUMPAGES } }