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

by Allen Wyatt
(last updated June 28, 2014)

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

Adjusting Bottoms of Pages

When you allow Word to naturally flow your text through a document, you may find that the text on each page ends at a ...

Discover More

Hyperlinking to a Specific Excel Worksheet

Creating a hyperlink to an Excel workbook is easy. With the information in this tip you can discover how to hone that ...

Discover More

Selecting a Graphic Behind a Text Box

How to select a graphic that is obscured by a text box can be perplexing. Here's an overview of the different ways you ...

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)

Two Page Numbers per Physical Page

If your document has two mini pages on one page, inserting page numbers in Word, so that each mini page has its own ...

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

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
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. 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 + 2?

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.

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.