Adding Page Numbers

Written by Allen Wyatt (last updated June 15, 2024)
This tip applies to Excel 97, 2000, 2002, and 2003


If you are creating spreadsheets that are more than a page or two in length, you will probably want to include page numbers so you can keep your pages in order when you make a printout. Excel supports automatic numbering of pages in your spreadsheet, and you can control the type of page number, the starting number, and the placement of the page number. To add page numbers, follow these steps:

  1. Since page numbers are placed in headers or footers, select Page Setup from the File menu. This displays the Page Setup dialog box.
  2. Make sure the Header/Footer tab is selected. (See Figure 1.)
  3. Figure 1. The Header/Footer tab of the Page Setup dialog box.

  4. Click on either Custom Header or Custom Footer, depending on where you want the page number to appear. This displays either the Header or Footer dialog box. (See Figure 2.)
  5. Figure 2. The Header or Footer dialog box.

  6. Position the insertion point in the Left, Center, or Right box, depending on where in the header or footer you want the page number placed.
  7. Click on the page number tool (it looks like a piece of paper with a number sign in the center of it). This places the characters &[Page] at the insertion point. This is where the page number will be located.
  8. Click on OK to close the Header or Footer dialog box.
  9. Click on OK to close the Page Setup dialog box.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2637) applies to Microsoft Excel 97, 2000, 2002, and 2003.

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

Determining If the End of a Text File Has Been Reached

When writing a macro that processes a text file, you may need to know when the end of the file has been reached. This is ...

Discover More

Determining the Current Directory

When you use a macro to do file operations, it works (by default) within the current directory. If you want to know which ...

Discover More

Problems with Nested Subtotals

If you have a worksheet that has nested subtotals, you may have run across a problem where the subtotals and grand total ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (menu)

Roman Numerals for Page Numbers

Yes, Excel can work with Roman numerals, and it even provides a worksheet function that converts to them. How you use ...

Discover More

Changing Page Number Format

Need your page numbers to not appear as regular Arabic numerals? Here's a way to get them to appear in a different ...

Discover More

Changing the Starting Page Number

Got page numbers in your worksheet printout? You may want to have those page numbers start with a number other than 1. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, 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 8 + 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, 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.