Field codes: RevNum 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 RevNum field inserts the number of document revisions, using information from the Statistics tab in the Properties dialog box. To view the Properties dialog box, go to the File tab> Info > Properties (on the right side), and then select Advanced Properties.

The revision number indicates the number of times a document has been saved.

Syntax

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

{ REVNUM⁠}⁠

Note

This content applies to the 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.

Examples

To print information such as "Quality Control Measures, version: 12, printed 10/11/03. Changes approved by T. Gerrard." on each page of a document, insert the following text and fields in a header or footer:

⁠{⁠ TITLE ⁠}⁠, version: ⁠{⁠ REVNUM ⁠}⁠, printed ⁠{⁠ PRINTDATE ⁠}⁠. ⁠{⁠ COMMENTS ⁠}⁠