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

Finding Other Instances of Excel in a Macro

When processing information using a macro, you may need to know if there are any other instances of Excel running on a ...

Discover More

Getting the Name of the Parent Workbook

If you need to insert into a cell the name of the workbook in which a worksheet is contained, you can use the CELL ...

Discover More

Widening a Column to a Particular Cell's Width

Do you want to set a column's width based on whatever is in the currently selected cell? There are actually a number of ...

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)

Default Font for Page Numbers

Page numbers are a common addition to documents, and a great aid to readers. If you want to easily format page numbers, ...

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

Turning Off Default First Page Numbering

Ever want to change the default settings for how Word handles page numbering? Word doesn't make this as easy as you would ...

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

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.