How to Remove Microsoft Office Macro Blocking Safely
Question details
The user needs to remove Microsoft Office macro restrictions on files downloaded from the internet or stored in untrusted locations.

- Product
- Microsoft Office
- Device & OS
- not provided
- Scenario
- Attempting to open and run macros in a document downloaded from the internet or received via email.
- Observed behavior
- Microsoft Office blocks the macros from running due to default security policies against untrusted internet files.
Ensure you absolutely trust the source of the file before enabling macros, as malicious macros can execute harmful code and compromise your system's security.
Unblock Macros via File Properties
This is the fastest and most secure method to enable macros for a single, trusted file downloaded from the internet.
When Windows downloads a file from the internet, it adds a hidden tag called the 'Mark of the Web' (MOTW). Microsoft Office reads this tag and automatically blocks macros. You can manually remove this tag from the file properties.
Close the document in Microsoft Office, then open Windows File Explorer and navigate to the folder containing your downloaded file.
Right-click the file and select 'Properties' from the context menu.
On the 'General' tab, look at the bottom for a security warning. Check the box next to 'Unblock'.
Click 'Apply' and then 'OK'. You can now open the file in Microsoft Office, and the macros will be allowed to run.

Use a Trusted Location
Ideal for users who frequently work with macro-enabled files and want a designated safe folder where macros always run without prompts.
Unblock Files using PowerShell
A fast command-line method suitable for advanced users or IT administrators needing to unblock files quickly.
Try WPS Office for a Seamless Document Experience
If you frequently encounter frustrating security blocks and strict macro policies in Microsoft Office, consider switching to WPS Office. It provides a highly compatible, lightweight, and user-friendly environment for all your daily document processing needs without the steep licensing costs.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the simple on-screen prompts to set up WPS Office on your device.
- 3. Open Your Documents: Right-click your existing documents and choose 'Open with WPS Office' to enjoy seamless and efficient editing.

Frequently Asked Questions
Why does Microsoft Office block macros from the internet by default?
Microsoft automatically blocks VBA macros in files originating from the internet to protect users. Macros can contain malicious code, such as ransomware or malware, which hackers often distribute via email attachments or harmful websites.
Why is the 'Unblock' checkbox missing in my File Properties?
If the 'Unblock' checkbox is not visible, it usually means the file does not have the 'Mark of the Web' (it wasn't recognized as downloaded from the internet), or the file has already been unblocked. Alternatively, your organization's IT administrator may have restricted this feature via Group Policy.
How do I trust network files so macros aren't blocked?
For files stored on a network share, you can configure your Local Intranet zone settings in Windows Internet Options to trust the network path, or you can add the specific network location to the 'Trusted Locations' list within the Microsoft Office Trust Center.
Can I permanently disable macro blocking for all internet files?
While it is technically possible to lower your macro security settings in the Trust Center to 'Enable all macros', Microsoft strongly advises against this due to the severe security risks of automatically running unknown code. It is much safer to unblock files individually.




