Full Path to Workbook

Becky recently updated to Excel 2016. In previous versions of the program she could display the File tab of the ribbon and then click Info to see the complete path and filename of the workbook. This was very useful for copying the information to send to a co-worker. In Excel 2016 the information isn’t there any more. She wonders if there is another place to get this useful information with a single copy/paste.

Actually, the information is there, but Microsoft (as it is wont to do) changed how you access the information. Plus, they changed the precise nature of what is returned. Here’s how to do it:

  1. Click the File tab of the ribbon.
  2. At the left side of the screen, click Info. (This is probably displayed by default.)
  3. Immediately under the file name is the location for the file. Left-click on this location and Excel displays a couple of choices. (See Figure 1.)
  4. Figure 1. Where Excel 2016 stores location information.

  5. Choose Copy Link to Clipboard.

If you are using a worksheet that is brand new (it hasn’t been saved yet), then the above steps won’t work because there is no file name or location to note.

When you paste the information from the Clipboard, you may be in for a little bit of a surprise. What you’ll find is that the location is formatted as a URL. For instance, here is what I found when I copied the location of a workbook (Master Email List.xlsx) stored on my desktop:


You can, of course, remove the encoding characters in the URL and the protocol information to render a full path to the workbook. There are other ways to get the full path, however.

One alternative is to use a formula in a cell to get the desired information. Provided the workbook has been saved, this will return the desired information:


When I used this in a cell on a worksheet named “Original,” here is what was returned:

C:UsersAdministratorDesktop[Master Email List.xlsx]Original

Obviously this returns a bit more information than just the full path name, so you’ll need to (again) make some changes to the information.

Another alternative is to try this little trick:

  1. Press F12. Excel displays the Save As dialog box.
  2. Click once in the Location Bar at the top of the dialog box. Excel displays the path in which the current workbook is located.
  3. Press Ctrl+C. This copies the location to the Clipboard.
  4. Press Esc to dismiss the Save As dialog box.

You can then paste the location wherever you want, but note that it is simply the path to the folder containing the workbook; it does not include the workbook name.

Another alternative is to add a tool to the Quick Access Toolbar:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 and later versions, display the File tab of the ribbon and then click Options.)
  2. At the left side of the dialog box click Customize (Excel 2007) or Quick Access Toolbar (Excel 2010 or later versions). (See Figure 2.)
  3. Figure 2. The Quick Access Toolbar area of the Excel Options dialog box.

  4. Use the Choose Commands From drop-down list to choose All Commands.
  5. In the list of commands, choose Document Location.
  6. Click the Add button. The command is copied to the right side of the screen.
  7. Click OK.

Now, your QAT includes a text box that contains the full path for the current workbook. You can click once in the text box, press Ctrl+A to select the path, and press Ctrl+C to copy it to the Clipboard.

There is one caveat to using the Document Location tool. If you save a new workbook or use Save As to save the current workbook to a new name, you’ll need to make an application other than Excel active for a moment (just click the other application’s window to give it focus) and then come back to Excel. This causes Excel to update whatever is in the Document Location text box to the correct location.

Finally, if you are comfortable with using the Visual Basic Editor, you could follow these steps:

  1. Press Alt+F11. Excel displays the Visual Basic Editor.
  2. Press Ctrl+G. Excel displays (if necessary) and activates the Immediate window.
  3. Type “? activeworkbook.fullname” (without the quote marks) and press Enter. VBA displays the full path to the current workbook.
  4. Highlight the full path name and press Ctrl+C.
  5. Press Alt+Q to close the Visual Basic Editor.