Add the file name, date, author, or other document properties to a header or footer

You can use field codes in Word to automatically add a variety of document properties, such as document title (or running header), author, date, and file name, to headers and footers.

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 and footer group

  2. Click Edit Header or Edit Footer.

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

  3. On the Insert tab, click Quick Parts, and then click Field.

    Inserting a field using Quick Parts

  4. In the Field names list, chose the field you want (such as FileName, Date, Author, or Title), choose the format you want in the Field properties section, and then choose any other options you like in the Field options section.

    Choosing a field and field properties for a header or footer

  5. Click OK.

See also

Expand your skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×