The NUMPAGES parameter inserts the total number of pages in the document when it is generated. Use it in structured documents such as proposals, contracts and multi-page reports.

Syntax

{{NUMPAGES}}

Values

NUMPAGES takes no options. It is replaced by the total number of pages in the generated document.

Where to add it

Type {{NUMPAGES}} in your Word template where you want the page count to appear, for example in the footer. See Headers, footers and page setup.

Example

In a 5-page document, on page 3:

SyntaxOutput
{{NUMPAGES}}5
Document Length : {{NUMPAGES}} PagesDocument Length : 5 Pages
Page {{PAGE}} of {{NUMPAGES}}Page 3 of 5

Works in

Word templates, including the footer of a Word file you upload (Headers, footers and page setup).

Common errors