Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Inserting a Page Number Field.

Inserting a Page Number Field

by Allen Wyatt
(last updated July 14, 2017)

6

Word provides a few shortcuts that allow you to insert common fields into your documents. If you have a need to insert the PAGE field often, then you will be interested in this shortcut. (The PAGE field automatically reflects the page number on which it is placed. For instance, if the PAGE field is inserted on page 4 of your document, it is replaced with a 4. If editing subsequently changes that page on which the PAGE field is located, the field is replaced with the then-current page number when your fields are updated.)

To insert a PAGE field where your insertion point is located, simply press Shift+Alt+P. The PAGE field is inserted, updated, and automatically formatted with the Page Number character format.

You should note that it is possible for the Shift+Alt+P shortcut to be "hijacked" by some other part of your system. For instance, in some versions of Windows pressing this shortcut key brings up the Windows Media Player; Word never gets a chance to act upon the shortcut. In that case, there is nothing you can do (short of removing, deactivating, or reprogramming whatever program is hijacking the shortcut key) except to insert the PAGE field the old fashioned way—by using the menus or toolbars to insert the field.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (548) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Inserting a Page Number Field.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Determining the Upper Bounds of an Array

When working with variables in a macro, you may need to know the upper boundary dimension for an array. This can be ...

Discover More

Filtering Web Discussions

If you use the Web discussion capabilities available in some versions of Excel, you may want to filter the discussion ...

Discover More

Adding a Table of Contents

A table of contents is a great organizational tool, especially for longer documents. When you decide you want to add a table ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Entering a "Slashed Zero" in Your Document

Need to add the occasional zero with a slash through it? There are a couple of ways you can accomplish this task.

Discover More

Inserting Fields

Fields are used for a variety of dynamic purposes in a document. There are a couple of ways you can easily insert fields, as ...

Discover More

Removing Specific Fields

Word allows you to place all sorts of fields in your documents. If you want to search for only specific types of fields, then ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five minus 0?

2017-01-11 06:10:41

Cláudio

Hello,

I am writing a document that has
attachments.
The page numbering for those attachments is: A-1;A-2;A-3; (...)

Is there any way to customize my page numbering to show that? and then at my TOC, that it also shows as indicated?

If I had something like: {"A-" PAGE} and that it would appear at my TOC it would be perfect...

Thanks,
Cláudio


2015-04-07 00:50:33

Rudger Clawson

Alice,
Shortcut to enter page numbers:

Alt+I -> U


2015-03-03 15:27:41

Alice Waters

I want to know the short cut for entering the page numbers as 1 of 2.


2013-08-28 12:32:47

awyatt

Cristy,

What you are seeing is the field code, but you want to see the field results. Put the insertion point within the code you note and press F9. That should collapse the single field.

If you are seeing field codes throughout the entire document (not just this one), then press Alt+F9. It is a toggle that changes between the display of all field codes and all field results.

-Allen


2013-08-28 12:26:57

Cristy

I pressed ctrl + f9 and now everytime I insert page numbers in MS Word documents the page numbers don't appear. Instead, something like this appears { PAGE * MERGEFORMAT }

How do I cancel this? I want to insert page numbers and actually see the page number, not this.

Thank you!


2013-08-14 02:44:29

JB Shaik

A document contains 3 sections, out of them first section doesn't need page number. From the second section onwards, it is required page number to be started from 1 of total number of remaining two sections. EX: Page X of Y where X is page number starting from second section and Y is (pages of sections 2 & 3).


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.