Add the file name to the header or footer

 Note    If you already added a header or footer from the gallery, this procedure may replace or change the formatting of the current header or footer.

  1. On the Insert tab, in the Header & Footer group, click Header or click Footer.

Header & Footer group

  1. Click Edit Header or click Edit Footer.

The cursor is now located in the header or the footer of your document.

  1. On the Insert tab, click Quick Parts.

Text group

  1. Click Field.
  2. In the Field names list, click FileName.
  3. To include the path, or server address, select the Add path to filename check box.
  4. Click OK.

You can also add a page number or other information to the same custom header or footer. For more information, see the section titled Add a header or footer that includes a page number in Add or remove headers, footers, and page numbers.

Applies to:
Word 2010