Putting Spreadsheet Names in Headers or Footers

Written by Allen Wyatt (last updated February 18, 2021)
This tip applies to Excel 97, 2000, 2002, and 2003


When you print your spreadsheet, it is often a good idea to include the spreadsheet name in the header or footer. This allows you, at a later date, to recall the name of the file in which the spreadsheet is stored. In fact, some of the headers and footers predefined in Excel include the spreadsheet file name. To include spreadsheet file names in your custom header or footer, follow these steps:

  1. Choose 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 spreadsheet file name 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 spreadsheet file name placed.
  7. Click on the file name tool (it looks like a piece of paper with the Excel logo on it). This places the characters &[File] at the insertion point. This is where the spreadsheet file name 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 (2638) 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

Printing Multiple Label Copies when Merging

Need to print more than one copy of mail-merge labels? There are a number of different approaches you can take to getting ...

Discover More

Forcing Editing to Be Done in a Cell

Excel allows you to edit your cell contents in two places. What if you want to limit where editing occurs, so it can only ...

Discover More

Understanding Font Styles

Fonts, by default, come with one or more styles that define variations of how that font is displayed in your document. ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Header and Footer Formatting Codes

When creating headers and footers in an Excel worksheet, you can use special codes to add or format information. This tip ...

Discover More

Deleting a Footer

Excel allows you to add footers to the worksheets you create. If you decide you don't need a footer any more, here's how ...

Discover More

Full Path Names in Headers or Footers

Using a macro to add the full path name into a header or footer in an Excel worksheet.

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.