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

Screen Flip Flop with VBA

Word allows users to conveniently work with multiple documents at the same time. When writing macros, you may need to ...

Discover More

Determining Combinations to Make a Total

If you have a range of cells that contain values, you may wonder which combinations of those cells should be used to meet ...

Discover More

Understanding Leading

Those with a publishing, typographic, or design background may understand what leading is, but not how to adjust the ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth 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

Getting Page Number Formatting Changes to Stick

Placing a page number into your document can be easy. Getting that page number to look the way you want it to can be more ...

Discover More

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
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 one less than 9?

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.