MS Word Hack: Insert Filename using Quick Parts

Use the Filename of a document in the contents of MS Word file

Infographic detailing the steps required to inset a Filename Field in a MS Word document that auto updates.

Do you use documents that need to have the filename appear within the contents of a document (or visa versa)? And how many times have you forgotten to do this?

Below I show you 5 easy steps to automate this process. Once the document is set up with the Filename Field, all you need to do is save the file, and MS Word will automatically update the field within your document.

Note: I only cover the field “FileName” in this how-to, however, the process works for all kinds of file information such as, page numbers and dates.

5 Simple steps to insert a field using Quick Parts

If the title needs to appear in the Header or Footer of your document, double click in the relevant section.

  1. Align your cursor to where you want the filename to appears
  2. In the search bar at the top of the page, type “Quick Parts”. MS Word will automatically suggest the correct option to use. This saves having to hunt for the right button to press.

*Do you prefer using the button? It can be found under the “Text” section of the “Insert” tab and the icon looks like this:

  1. Select “Field” from the drop-down menu.
  2. You should now see the field dialogue box. In the first column is a list of fields that you can use within your word document. These fields will automatically update as required and are really helpful to save time and ensures accuracy. For this guide, we are looking for “FileName”.
    In the next column, you can set the formatting of the field and in the final column, you have options to include the path (the location where the file is saved) and tell MS Word whether or not to preserve formatting during updates.
  3. If you prefer not to have the file extension at the end of the file name, you need to deselect “File Name Extensions” under View -> Show/Hide in Windows File Explorer

You can download the infographic here:

We'd love your thoughts so please leave us a comment bellow

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: