Finding Out the Folder for an Open Document

Written by Allen Wyatt (last updated October 11, 2021)
This tip applies to Word 2007, 2010, 2013, and 2016


6

Steven often has a Word document open and can't remember where it came from (i.e., what folder it is located in). The title bar for the document's window shows the document's title, but not the folder in which it is stored. He wonders about the easiest way to figure out the folder for a document that is already open.

It turns out that there are several different ways you can determine the folder for a document. Based on the huge number of people that supplied ideas, the most popular (and, therefore, commonly used) method is to simply press F12. Word displays the Save As dialog box, which includes as the default location the path of the currently active document. Once you glean the information you like, you can press Esc to dismiss the Save As dialog box without actually saving.

If you are using Word 2007, you can display the properties for a document, which includes its location. You do this by clicking the Office button, then clicking Prepare | Properties. Word displays a Properties pane at the top of the document, which includes a yellow bar showing the location for the document.

If you are using Word 2010 or a later version of the program, you can see the folder in which a document is stored by simply clicking the File tab of the ribbon. Near the top of the screen you can see the location, the detail of which will vary based on the version of Word you are using. For instance, if you are using Word 2010 you can see the traditional full path name. (See Figure 1.)

Figure 1. File location in Word 2010.

If you are using Word 2016, though, then the full path may appear truncated. (See Figure 2.)

Figure 2. File location in Word 2016.

Interestingly, if you look at what you see when the File tab is displayed, near the bottom of the right side of the screen you should see an option named Open File Location. If you hover over this with the mouse pointer, you'll see the full path for the folder. You can also click the option and thereby open a window that shows the contents of the folder.

There's also a tool you can add to the Quick Access Toolbar that will show you the document's location. Follow these steps:

  1. Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 and later versions display the File tab of the ribbon and then click Options.)
  2. Select the Customize option (Word 2007) or Quick Access Toolbar option (Word 2010 and later versions) at the left side of the dialog box.
  3. Using the Choose Commands From drop-down list, choose Commands Not In the Ribbon. Word displays all the requested commands at the left side of the dialog box. (See Figure 3.)
  4. Figure 3. Adding a command to the Quick Access Toolbar.

  5. Scroll through the list of available commands and choose Document Address.
  6. Click the Add button. The command is moved to the list at the right of the dialog box.
  7. Click OK. The new command now appears on the Quick Access Toolbar.

The Document Address tool is actually a drop-down list. It lists lots of different addresses, including places you've visited on the Internet. The top option, however (the one shown when you don't drop-down the list), is the folder location of the currently active document.

Finally, if you prefer a macro-oriented approach, you could create a very simple one that displays the path to the folder:

Sub GetPath()
     MsgBox ActiveDocument.FullName
End Sub

The macro could be easily assigned to a shortcut key or to a tool on the ribbon or Quick Access Toolbar.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (4869) applies to Microsoft Word 2007, 2010, 2013, and 2016.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Creating Traditional Forms

Do you use Word to create printed forms? If so, here's some ideas and techniques you can use to make those forms look as ...

Discover More

Getting Rid of the "Enable Macros" Notice

Do you get tired of the dialog box that says "do you want to enable macros" that is displayed when you open a workbook. ...

Discover More

Controlling How Body Text is Displayed

When working in Outline view, you can control how Word displays the body text under each heading. You can specify that ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Marking Multiple Documents

After using Word for a while, it is easy to accumulate quite a few documents. At some point you may want to make a change ...

Discover More

Files Opening Slowly If Many Files Exist

Managing large numbers of documents in Word can lead to some interesting challenges. One potential challenge is that your ...

Discover More

Mirroring Documents

Have you ever wanted to have a Word document be accessible through two different folders? Here are several ways you can ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven minus 2?

2021-10-22 13:20:39

Andrew

I've done what Wendy does, but with a bit of a variation:

If Not ActiveProtectedViewWindow Is Nothing Then ' Current document opened in protected view.
ActiveProtectedViewWindow.Caption = "Protected View: " & ActiveProtectedViewWindow.Caption & ActiveProtectedViewWindow.Document.name
ElseIf Documents.Count > 0 Then ' Current document opened in normal view.
ActiveWindow.Caption = IIf(Len(ActiveDocument.FullName) > Max_Title_Length, ". . .", "") & Right(ActiveDocument.FullName, Max_Title_Length)
End If
End Sub


2021-10-21 15:41:53

Wendy Cordone

I use an AutoOpen macro that puts the full path in the title bar of the window:

Sub Autoopen()
ActiveWindow.Caption = ActiveDocument.FullName
End Sub


2017-12-23 22:57:12

Phil Reinemann

@Ted Duke: In WIndoze/File Explorer, shift-right-click the file and pick copy as path and it will be put in the clipboard. I use that all the time to let others know where the file is on the server.

Maybe a bit more than anyone needs but...

Sub ShowFileFullPath()
' 20161216 created (copied Excel macro) by PReinie
' Sometimes you just need to figure out where it is, and use it.
' Requires VB Tools->References Microsoft Forms 2.0 Object Library.
' If it's not listed, add C:\Windows\System32\FM20.dll or
' C:\Windows\FM20.dll as a reference, else you get "User-defined type not defined".

Dim copyToClipboard As VbMsgBoxResult
Dim fullPath As String
Dim DataObj As New MSForms.DataObject

copyToClipboard = vbYes
fullPath = Application.ActiveDocument.FullName

copyToClipboard = MsgBox(fullPath & vbCrLf & "Do you want the full path saved to clipboard?", vbYesNo + vbDefaultButton1)
If copyToClipboard = vbYes Then
DataObj.SetText fullPath
DataObj.PutInClipboard
Set DataObj = Nothing
Else
' I guess no copy to clipboard, so there!
End If
End Sub ' ShowFileFullPath

Also, Greg Maxey has a macro that replaces the file name with the full path & name at the top of the editing window. Sorry I don't have it in Word 2011 yet to post it here.


2017-12-09 14:28:43

Ted Duke

The tip showing that F12 opens File Explorer to display the location of an open document in Word is my candidate for "Tip of the Decade." Thanks, multiple times.


2017-12-09 12:11:58

Linda Skinner

I'm new to WordTips and find them interesting and helpful. Thank you.

In Word 2016 on my mac, I get the full document path by right-clicking the document name at the top of the document.


2017-12-09 04:42:44

Manos

I think there is a simple way: Select "Save as" and Word will show the folder where the document is located. There is no need to proceed with saving.


This Site

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.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.