logo
search
Office for Mac Issues

How to View Document Path and Filename in Office for Mac

Amos GikundaAmos Gikunda Sep 28, 2026 869 views

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.

How to View and Copy Document Path and Filename in Office for Mac
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Visual Basic Editor

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'.

2
Access the Immediate Window

If the Immediate window is not visible at the bottom of your screen, press Command + G or click 'View' > 'Immediate Window' from the menu.

3
Run the Path Command

Type '?Application.ActiveWorkbook.FullName' (for Excel) or '?Application.ActiveDocument.FullName' (for Word) into the Immediate window and press the Return key.

4
Copy the Output

The complete document path and filename will be printed on the next line. Highlight the text and press Command + C to copy it.

Use the Visual Basic Editor to Retrieve the Full Path
Automating with Macros: You can save this command as a standard VBA macro and assign it to a custom button or keyboard shortcut for quicker access in the future.

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. 1. Open Your Document: Launch WPS Office for Mac and open your text document, spreadsheet, or presentation.
  2. 2. Access File Properties: Click on 'Menu' in the top-left corner, navigate to 'File', and select 'Properties' or 'Document Information'.
  3. 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.
One-click access to document properties and file pathsFully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight application optimized for macOS performanceIntuitive tabbed interface for managing multiple documents easily
QA img-9

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.