How to Fix Microsoft Word Blocking Macros from Untrusted Sources
Question details
Users are unable to run macros in downloaded DOCM files because Microsoft Word continues to block them, even when macros are seemingly enabled and the file is saved in a trusted location.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Opening a macro-enabled DOCM file downloaded from an external source or email.
- Observed behavior
- Microsoft Word blocks the macros from running due to strict security policies, overriding the user's basic macro settings and trusted location configurations.
Before modifying your macro security settings, ensure you completely trust the source of the DOCM file and run an antivirus scan, as malicious macros can severely harm your computer.
Configure a Specific Trusted Location for Macro Files
Creating a dedicated trusted folder is the safest way to bypass macro blocking without lowering your overall security settings.
Do not trust your entire C: drive, as this compromises your system's security. Instead, isolate your trusted macro files in a single designated folder.
Open Microsoft Word, navigate to File > Options, select 'Trust Center' from the left sidebar, and click the 'Trust Center Settings' button.
Go to 'Trusted Locations' in the left pane and click the 'Add new location' button.
Browse to select a specific folder on your computer. Check the box for 'Subfolders of this location are also trusted' if necessary, then click OK.
Move your downloaded DOCM file into this specific trusted folder, then open it in Microsoft Word to allow the macros to run.

Unblock the Downloaded File in Windows Properties
Windows automatically adds a 'Mark of the Web' to internet downloads, which forces Office to block macros regardless of your Trust Center settings.
Verify and Adjust Macro Security Settings Safely
Ensure your macro settings are configured to prompt you for permission rather than silently blocking them or allowing everything automatically.
Experience a Lightweight and Secure Alternative with WPS Office
If you are tired of dealing with complex security policy errors and constant macro blocking in Microsoft Word, consider switching to WPS Office. It provides a familiar, user-friendly interface with excellent format compatibility, allowing you to view and edit your documents seamlessly without the heavy overhead.
- 1. Download and Install: Visit the official WPS website to download the free version and run the lightweight installer.
- 2. Open Your Document: Launch WPS Writer and open your DOCM or DOCX file directly into the workspace.
- 3. Edit and Save Seamlessly: Enjoy full Microsoft Word format compatibility, edit your content smoothly, and save it in your preferred file format.

Frequently Asked Questions
Why does Microsoft Word block macros even when the file is in a trusted location?
This often happens if the file has the 'Mark of the Web' applied by Windows because it was downloaded from the internet. You must first unblock the file in its Windows Properties before Microsoft Word will respect the trusted location settings.
Is it safe to select 'Enable all macros' in the Trust Center to fix this?
No, it is highly discouraged. Enabling all macros makes your computer vulnerable to malicious code. It is best to use 'Disable all macros with notification' and rely on specific Trusted Locations.
What should I do if unblocking the file and using a trusted location doesn't work?
Check if the macro requires a digital signature to run. You may need to ask the sender to provide a digitally signed version of the document, or verify that your Office application is fully updated to the latest version.
Can a malware infection cause macros to be blocked?
Yes, sometimes your antivirus software or Microsoft Defender will actively block macro execution if it detects suspicious behavior within the VBA code. Run a full system scan to ensure the file is safe to open.




