logo
search
VBA & Macro Problems

Fix Word VBA Hanging When Opening Documents on macOS Big Sur

Rana GarciaRana Garcia Oct 10, 2026 868 views

Question details

Users experience complete unresponsiveness when running VBA macros that open Word documents using GrantAccessToMultipleFiles on macOS Big Sur.

Fixing Word VBA Freezes When Opening Documents on macOS Big Sur
Product
Microsoft Word for Mac
Device & OS
macOS Big Sur
Scenario
Running a cross-application or internal VBA macro that requests file access and attempts to open a Word document via the Documents.Open method.
Observed behavior
The Word application completely hangs during the Documents.Open statement instead of returning a standard file access error, preventing the macro from completing.
Before you start

Before proceeding, ensure you have saved all active documents to prevent data loss when force-quitting the unresponsive application. Check if you have applied the latest updates for macOS Big Sur and your Office installation.

Solution 1Recommended

Migrate VBA Automation to a Windows Environment

Since this freezing issue is deeply rooted in how macOS sandboxing handles Office VBA file permissions, executing the macros in a native Windows environment is the most reliable fix.

The hanging behavior during Documents.Open is a known compatibility bug related to macOS sandbox restrictions and the GrantAccessToMultipleFiles command. Because Word fails to throw a catchable error, bypassing the macOS environment entirely prevents the freeze.

1
Set up a Windows environment

Deploy a local virtual machine using software like Parallels Desktop or VMware Fusion, or log into a cloud-based Windows service such as Windows 365.

2
Transfer your macro-enabled documents

Move the Word and Excel files containing your automated VBA code from macOS to your new Windows environment.

3
Execute the macro

Open the files using Microsoft Office for Windows and run the macro. The Documents.Open method will execute smoothly without macOS sandbox interruptions.

Migrate VBA Automation to a Windows Environment
Cross-Platform Consistency: Running VBA on Windows ensures full compatibility with ActiveX controls, FileSystemObject, and other features that are often restricted or missing on macOS.
Free Microsoft Office alternative

Experience Smooth Document Processing with WPS Office

If Microsoft Word for Mac is causing workflow interruptions due to complex sandbox restrictions and VBA limitations, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly experience for your document processing needs without the heavy background bugs.

Highly compatible with Microsoft Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) formats.Lightweight installation and smooth performance on macOS without severe sandbox hanging issues.Free to use with a familiar user interface that requires zero learning curve.Seamless cross-platform synchronization across macOS, Windows, iOS, and Android.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Documents.Open hang on macOS but work correctly on Windows?

macOS enforces strict application sandboxing, which heavily restricts how apps access local files. When Word VBA requests access to multiple files simultaneously using GrantAccessToMultipleFiles, it conflicts with these sandbox permissions, causing the application to lock up instead of throwing a standard error code.

Does this VBA hanging issue happen in Excel for Mac too?

Interestingly, while Excel for Mac operates within the same macOS sandbox, users often report that opening and saving Excel workbooks via VBA works fine. The freezing behavior is predominantly isolated to the Documents.Open method within Word VBA.

Can I fix this by changing macOS file permission settings?

Granting 'Full Disk Access' to Microsoft Word in the macOS System Settings (under Privacy & Security) may occasionally improve stability, but it rarely resolves the underlying VBA bug completely. Migrating the automation task to Windows remains the most definitive solution.