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

Counting Unique Values with Functions

Using Excel to maintain lists of information is not unusual. When working with the list you may need to determine how ...

Discover More

Deleting All Tab Stops

Tab stops can be helpful when you want to align text within a paragraph. However, you might also want an easy way to get ...

Discover More

Calculating an Age On a Given Date

Start putting dates in a worksheet (especially birthdates), and sooner or later you will need to calculate an age based ...

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 ExcelTips (menu)

Moving Part of a Footer Down a Line

Setting up a single footer line for your printouts is fairly easy. If you want to move part of the footer down a line so ...

Discover More

Putting Headers and Footers On Multiple Worksheets

You can easily create headers and footers for multiple worksheets by working with a selection set of the worksheets you ...

Discover More

Header and Footer Data Codes

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

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 six minus 4?

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.