How to View Document Path and Filename in Office for Mac
Question details
The user wants to find a way to view, add, or copy the full document path and filename in Microsoft 365 for Mac, as the Windows-style Quick Access Toolbar option is unavailable.

- Product
- Microsoft Office for Mac (Word, Excel, PowerPoint)
- Device & OS
- macOS
- Scenario
- Locating the exact storage path of a currently active document or spreadsheet to share the location or manage files.
- Observed behavior
- The standard Quick Access Toolbar option to show the document path is missing on macOS, requiring alternative methods like using the VBA Immediate window or the title bar.
Ensure your document has been saved at least once so that a file path is generated, and verify that your Office application has macro execution enabled if you plan to use the VBA method.
Use the Visual Basic Editor to Retrieve the Full Path
Run a quick command within the built-in VBA Immediate window to print and copy the exact document path and filename.
Since the Quick Access Toolbar behaves differently on Mac, using a brief VBA command is the most reliable way to extract the full path as text.
In Word, Excel, or PowerPoint on your Mac, go to the top menu bar, click on 'Tools', select 'Macro', and then choose 'Visual Basic Editor'.
If the Immediate window is not visible at the bottom of your screen, press Command + G or click 'View' > 'Immediate Window' from the menu.
Type '?Application.ActiveWorkbook.FullName' (for Excel) or '?Application.ActiveDocument.FullName' (for Word) into the Immediate window and press the Return key.
The complete document path and filename will be printed on the next line. Highlight the text and press Command + C to copy it.

View the Document Path via the Title Bar
Quickly inspect the folder hierarchy of your file directly from the application's title bar without using code.
Easily Manage File Locations with WPS Office for Mac
WPS Office provides a highly optimized and streamlined interface on macOS, allowing you to easily view file properties, copy document paths, and manage your files without needing complex VBA scripts.
- 1. Open Your Document: Launch WPS Office for Mac and open your text document, spreadsheet, or presentation.
- 2. Access File Properties: Click on 'Menu' in the top-left corner, navigate to 'File', and select 'Properties' or 'Document Information'.
- 3. Copy the Path: In the Summary or General tab, locate the 'Location' field. You can directly highlight and copy the full path to your clipboard.

Frequently Asked Questions
Why can't I add the document location to the Quick Access Toolbar on Mac?
Microsoft Office for Mac utilizes a different interface framework compared to its Windows counterpart. The Quick Access Toolbar on macOS does not support the exact same set of commands, which includes the 'Document Location' address bar.
Is there a built-in macOS shortcut to copy a file path?
Yes, but you must do it from the Finder. Locate your saved Office document in Finder, select the file, and press Option + Command + C. This will copy the file's exact path to your clipboard.
Does the VBA command change if I am using PowerPoint for Mac?
Yes. If you are using PowerPoint, you will need to adjust the object model in your command. You should type '?Application.ActivePresentation.FullName' in the Immediate window to get the path.




