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: Adding Page Numbers in Headers or Footers.

Adding Page Numbers in Headers or Footers

Written by Allen Wyatt (last updated October 24, 2019)
This tip applies to Word 97, 2000, 2002, and 2003


2

If you already have headers and footers defined for your document, you can add a page number by simply editing the header or footer and then clicking on the Page Number tool on the header/footer toolbar. The page number is inserted at the location of your insertion point.

If the standard, run-of-the-mill page number does not fit your discriminating tastes, you may want to add page numbers to your headers or footers yourself. These types of page numbers can be rather fancy, if you like. For instance you may want a page number to say "Page 37" (special formatting with the word Page before the actual page number). To add page numbers in your headers and footers, follow these steps:

  1. Position the insertion point in the section of your document that you want to include page numbers.
  2. Choose the Header and Footer command from the View menu. You will see the Header and Footer toolbar, and your page view is changed to Print Layout (unless you were already using that page view).
  3. Use the controls on the Header and Footer toolbar to display the place where you want to include the page number: either the header or the footer.
  4. Type the word Page, followed by a space. Then click on the Page Numbers tool on the Header and Footer toolbar.
  5. Format your header or footer text as you would format normal text in your document.
  6. Click on Close.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (176) 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: Adding Page Numbers in Headers or Footers.

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

Scrolling Up and Down

Need an easy way to move through a spreadsheet using a mouse? Here are a couple of ideas.

Discover More

Increasing Space between Numbers and Text in a List

You can easily create numbered lists in your document. Most versions of Word even allow you to modify the distance ...

Discover More

Quickly Accessing the Column Tab

If you need to quickly display the Column tab of the Table Properties dialog box, here are some handy tricks you can use. ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (menu)

Odd Page Numbers Disappearing

Page numbers in printed pages are often a necessary part of formatting a document. What do you do if your printed output ...

Discover More

Spelling Out Page Numbers

If your document is more than a couple of pages long, adding page numbers is a nice finishing touch. If you want, you can ...

Discover More

Adding Page Numbers

Ever want to add page numbers to your document? Word allows you to control many aspects of page numbering. Here's how to ...

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 two more than 7?

2018-05-03 17:04:28

guyfromnola

The following code is inserting a page number for me, as desired. After trying several modifications, I'm not able to get it to insert the total page count. As an end result, I would like the right footer of the page to show X/Y where X is the page number and Y is the total page count. I need to achieve this through a macro, not a template. Yes, I have also played with the record macro feature, but still not getting anywhere. Any insight appreciated. Thanks

With ActiveDocument.Sections(1)
.Footers(wdHeaderFooterPrimary).PageNumbers.Add PageNumberAlignment:=wdAlignPageNumberRight, FirstPage:=True
End With


2017-11-01 14:54:28

Danette

I have created a paper that contains 2 pages. I want to have each printed document have a sequential numbering convention (e.g. 100-09 (01C) to 100-09 (24C). The same document will be used with a convention of 1-48E. I am assuming I would have to create 2 documents to support the alpha-numeric indicator. How do I get a .DOCM to automatically create the 100-09 (01C) to 100-09 (24C) in the header field when I print the document (based on number of documents printed)?


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.

Videos
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.