Share via

Page number

Darko Zavrl 20 Reputation points
2026-01-20T05:46:29.7266667+00:00

MS Word page number editing. How to calc with field code page number?

Microsoft 365 and Office | Word | For education | Windows
0 comments No comments

Answer accepted by question author

  1. Q&A Assist
    2026-01-20T05:46:39.4266667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To edit page numbers in Microsoft Word using field codes, you can use the PAGE field code, which automatically displays the current page number. To insert a page number using field codes:

    1. Place your cursor where you want the page number to appear (usually in the header or footer).
    2. Press Ctrl + F9 to insert a pair of field braces { }.
    3. Inside the braces, type PAGE so it looks like this: { PAGE }.
    4. Press F9 to update the field and display the page number.

    If you want to perform calculations with page numbers, you can use the ={ PAGE } + n syntax, where n is the number you want to add to the current page number. For example, if you want to display the page number plus one, you would enter { = { PAGE } + 1 }.

    Remember to update the field after making changes by selecting it and pressing F9 again.


    References:

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Stefan Blom 339.3K Reputation points MVP Volunteer Moderator
    2026-01-20T11:45:29.5633333+00:00

    The AI bot has demonstrated how you can use nested fields to calculate page numbers.

    If you put the fields in headers/footers, they will also update automatically (no need for manual "intervention").

    However, you should be aware that a table of contents, table of figures, cross-references etc. will always make use of the page number displayed by the PAGE field. Therefore, calculating page numbers will not always be the best option.

    3 people found this answer helpful.
    0 comments No comments

  2. Charles Kenyon 166.8K Reputation points Volunteer Moderator
    2026-01-20T18:05:32.79+00:00

    Can you tell us more about what you are trying to accomplish with this?

    The AI bot told you about using a calculation field, and this is sometimes necessary. However, as Stefan told you, the formatted page number displayed using the PAGE field is used internally for many other Word functions like the TOC or Index.

    References that may help:

    2 people found this answer helpful.
    0 comments No comments

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.