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

Inserting the Edit Time

One of the things that Word keeps track of is how long, in minutes, you've been editing your current document. This ...

Discover More

Creating a Chart

Creating a graphic chart based on your worksheet data is easy. Excel provides the Chart Wizard to guide you through your ...

Discover More

Developing Reciprocal Conversion Formulas

When converting between measurement systems, you might want to use two cells for each type of measurement. Make a change ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (menu)

Changing the Type of Page Numbers Used in Headers or Footers

Like to have your page numbers displayed using different types of numbers? Here's how you can choose from the several ...

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

Using Only Odd Page Numbers

Do you need to number the pages of your document using only odd page numbers? Word doesn't provide a way to do this, but ...

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 5 + 5?

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.