Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and 2021. 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: Inserting a Document's Location.
Written by Allen Wyatt (last updated July 9, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and 2021
It is often handy to insert the location of a document into your document itself. For instance, you may want the footer of your document to include an indication of a document's file name, along with the full path for the file. You can do this easily by following these steps if you are using Word 2002 or a later version:

Figure 1. The Field dialog box.

Figure 2. The Field Specific Switches tab of the Field Options dialog box.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12915) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Word here: Inserting a Document's Location.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!
Do you need to select a field? It is as simple as selecting a single character, as this tip explains.
Discover MoreNeed to count the number of times a particular field appears in a document? It's easy to do when you apply the techniques ...
Discover MoreWhen adding page numbers to a header or footer, you may find it helpful to modify how Word determines its "Page X of Y" ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2020-06-01 16:25:23
B_PARKER
Re: Inserting a Document's Location. I use this for every document I create.
I'm curious, why go through steps 7 through 13, when it can be done in two steps?
After Step 6, when FileName is selected, a selection box "Field Options" appears on the right of the screen which allows you to Add path to filename. Just check the box and select OK.
Steps 7 through 13 in the example appear unnecessary unless I am missing something?
I'm new to your newsletters (Word and Excel) and find them very interesting.
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.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments