Fix Windows Explorer Freezing on Macro-Enabled Office Files
Question details
Windows Explorer stops responding when the user selects macro-enabled Word or Excel files.

- Product
- Microsoft Office and Windows File Explorer
- Device & OS
- Windows
- Scenario
- The user selects a Word or Excel file containing macros in File Explorer.
- Observed behavior
- File Explorer may freeze when the file is selected, although the file opens normally in Office.
Close Office apps and any unresponsive File Explorer windows before troubleshooting. Confirm that the freeze occurs when selecting the file, not only when opening it.
Repair Microsoft Office
Use Office repair to address damaged installation files or shell integration.
Open Settings > Apps > Installed apps, or Apps & Features on older Windows versions. Find Microsoft 365 or Microsoft Office in the list.
Select Office, choose Modify, and select Quick Repair. Follow the prompts to complete the repair.
If File Explorer still freezes, return to Modify and choose Online Repair. An internet connection is required.
Open File Explorer and select the affected macro-enabled Word or Excel file to check whether it still freezes.

Disable File Explorer preview and test Office in Safe Mode
Use these checks to see whether file previews or Office startup components are involved.
Uninstall and reinstall Microsoft Office
Try a fresh installation if repair and preview checks do not resolve the freeze.
Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office documents. Its format compatibility helps you move existing files into a new workflow, though it does not repair Microsoft Office or File Explorer.

Frequently Asked Questions
Why does File Explorer freeze when the Office file opens normally?
File Explorer may interact with Office preview or shell components when a file is selected. A damaged Office installation can also contribute, so try turning off the Preview pane and repairing Office.
How do I turn off the File Explorer Preview pane?
Open File Explorer and press Alt+P if the Preview pane is visible. Select the affected file again to see whether the freeze continues.
What is the difference between Quick Repair and Online Repair?
Quick Repair is the first repair option to try. If it does not help, use Online Repair from the Office Modify menu; Online Repair requires an internet connection.
What if Microsoft Office does not appear in Programs and Features?
Open Windows Settings > Apps > Installed apps or Apps & Features and look for Microsoft 365 or Microsoft Office there. The app may be listed in Settings even if it does not appear in Programs and Features.
Can WPS Office run every macro in my Word or Excel file?
Macro support and compatibility can vary, so test any required macros before relying on WPS Office for that workflow. Do not enable macros in files from untrusted sources.




