How to Fix Word Macro Blocked Because File Source Is Untrusted
Question details
The user needs to bypass or fix a security block in Microsoft Word that prevents macros from running because the document is flagged as coming from an untrusted source.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Opening a macro-enabled Word document that was downloaded from the internet, received as an email attachment, or accessed from a network drive.
- Observed behavior
- Word prevents the macros from executing and displays a security warning about an untrusted file source. Changing the general macro settings in the Trust Center does not resolve or bypass this specific block.
Before proceeding, ensure you absolutely trust the sender and the origin of the document, as enabling macros from unknown or untrusted sources can expose your computer to malware.
Unblock the Specific File via Windows Properties
Manually unblock the document in Windows to remove the 'Mark of the Web' security flag that restricts downloaded files.
When you download a file from the internet or save an email attachment, Windows applies a hidden tag to it. Microsoft Word reads this tag and blocks macros regardless of your internal Trust Center settings. Unblocking the file directly removes this restriction.
Close Microsoft Word. Open Windows File Explorer and navigate to the folder where your macro-enabled document is saved.
Right-click the document and select 'Properties' from the context menu.
In the 'General' tab, look at the bottom for a Security section. Check the box next to 'Unblock' (or click the 'Unblock' button, depending on your Windows version).
Click 'Apply', then 'OK'. Reopen the document in Microsoft Word, and the macros should now be permitted to run.

Add the Document's Folder to Word's Trusted Locations
Designate a specific folder on your computer as a Trusted Location so any macro-enabled files saved there will automatically bypass the security block.
Replace Macros with Built-in Word Features
Use Word's native tools like Templates, Styles, or AutoText to perform recurring formatting tasks securely without relying on macros.
Try WPS Office for a Secure and Seamless Document Experience
If navigating strict Microsoft Word security policies and macro blocks is slowing you down, consider switching to WPS Office. It provides a highly compatible, secure, and user-friendly environment for editing all your documents without unnecessary hassle.
- 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Open WPS Writer: Launch WPS Writer, the powerful word processing application included in the suite.
- 3. Edit your documents: Open your Word documents seamlessly and enjoy robust editing features with industry-leading format compatibility.

Frequently Asked Questions
Why does Word block macros even after I enabled them in the Trust Center?
Microsoft Office relies on a Windows security feature called 'Mark of the Web' for files downloaded from the internet or received via email. This security layer overrides your general Trust Center settings to protect your device from potentially malicious code hidden in untrusted files.
Is it safe to unblock a macro-enabled document?
It is only safe if you are absolutely certain of the file's origin and completely trust the sender. Malicious macros are a common vector for distributing ransomware and malware. If you are unsure, do not unblock the file.
What are Trusted Locations in Microsoft Word?
Trusted Locations are specific folders on your hard drive or local network that you have explicitly designated as secure. Any file opened from a Trusted Location automatically bypasses standard macro security checks, allowing active content to run immediately.
Can I use AutoText instead of macros for repetitive typing?
Yes. Built-in features like AutoText and AutoCorrect are secure, highly efficient alternatives to macros for inserting reusable text snippets, headers, or tables, and they are completely immune to macro security blocks.




