Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. 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

by Allen Wyatt
(last updated July 13, 2013)

2

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, and 2013. 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

Make AutoCorrect Pay Attention to Character Case

If you rely on AutoText (as most Word users do), you may have noticed that it doesn't always give the desired results with ...

Discover More

Specifying an Index Entry Separator

One of the switches you can use with the index field allows you to specify how index entries should be separated from the ...

Discover More

Automatically Advancing by a Month

Excel allows you to perform quite a few operations using dates in your worksheet. Sometimes, however, the answer may not be ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Placing the First Two Words from the Following Page In the Footer

Headers and footers can be used for all sorts of information to help orient your document reader. In fact, Word provides many ...

Discover More

Including Headers and Footers when Selecting All

If you are creating a macro that, in the course of processing your document, needs to update all the fields in the document, ...

Discover More

Making Wider Footer Margins

Want the margins used in your footers (or headers) to be wider than the margins used in the rest of your document? There are ...

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 8 - 2?

2013-09-17 09:12:21

Mary Bohnsack

1. Click File/Customize the Quick Access Tool Bar (I am assuming you know how to add elements to your QA Tool Bar, so am not showing all the steps to do so in this note.)
2. There is one function to Insert File Path and another to Insert File Name.
3. Add them to your Quick Access Tool
4. In your document, place cursor where you want the file/path names.
5. Click the icon for Insert File Path and/or Insert File Name.

Voila - name is inserted and ready for any font formatting you may want to do.


2013-08-12 10:36:12

Marilyn Hayner

I have tried but have not succeeded in creating a macro to do this, as well as to insert "Page X of Y" page numbering in the footer of a document. Can anyone assist with this?


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.

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.