MS Word: Insert File Name into Document Header

If you want to insert the file name into MS Word header, follow these steps:

  1. Open MS Word.
  2. Click the Insert tab.
  3. From the Header & Footer group, click [Header] or [Footer].

  4. From the drop-down menu, choose a Header or Footer style.
  5. Return to the Insert tab.
  6. From the Text group, click Quick Parts, then Select Field.
  7. Under Field names, select FileName.

  8. In the Field properties, select a format.
  9. In the Field options, check Add path to filename. The file name will now appear in the header.

In this example, the file name has been added to the document header.