Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Putting Document Names in Headers or Footers.

Putting Document Names in Headers or Footers

Written by Allen Wyatt (last updated December 28, 2019)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and 2021


When you print your document, it is often a good idea to include the document name in the header or footer. This allows you, at a later date, to recall the name of the file in which the document is stored. To include document names in the header or footer, follow these steps:

  1. Display the Insert tab of the ribbon.
  2. Click either the Header or Footer tool in the Header & Footer group. Word displays a list of options.
  3. Click Edit Header or Edit Footer, depending on what you selected in step 2. Word activates either the header or footer area of the page.
  4. Position the insertion point where you want to include the filename.
  5. The Insert tab of the ribbon should still be displayed. Click the Quick Parts tool (in the Text group) and then choose Field. Word displays the Field dialog box.
  6. From the Categories list select the Document Information category. (See Figure 1.)
  7. Figure 1. The Field dialog box.

  8. From the Field Name list, select FileName.
  9. Click on OK. The filename of the current document will be inserted at the insertion point; it will automatically change if you save the document under another name.
  10. 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 (8138) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Word here: Putting Document Names 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

Adding Your Own Menu Items

Want to really make Excel reflect how you work? Why not make some changes to the menu structure so that the menus have ...

Discover More

Creating a Sort Order

Excel is very flexible in how it can sort your data. You can even create your own custom sort order that is helpful when ...

Discover More

Understanding Storage Spaces

Need to add some additional drive space to your system? Why not consider adding what Microsoft calls a "storage space?" ...

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 (ribbon)

Why Does the Footer Expand?

When you add too much text into a footer for that text to display in the space you've allotted to the footer, then Word ...

Discover More

Floating Footer

Need some specific text to appear just below the end of the text on the last page of your document? You can accomplish ...

Discover More

Using a Portion of a Document's Filename in a Header

Headers and footers add a nice finishing touch to a document you plan on printing. You may want all sorts of information ...

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 four more than 5?

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 Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu 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.