How to Fix Microsoft Excel Blocked Macros Security Warning
Question details
The user needs to enable macros on an Excel template from a trusted source, but Excel displays a security warning blocking the macros, even after removing the file block in Windows Properties.
- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Opening a macro-enabled Excel template obtained from an external trusted source.
- Observed behavior
- Excel displays a warning that macros have been blocked, preventing the template from functioning correctly, and unblocking via Windows Properties does not resolve the issue.
Ensure you absolutely trust the source of the macro-enabled file before proceeding. Malicious macros can severely harm your computer, so never enable them for files from unknown origins.
Add the Template's Folder to Excel Trusted Locations
By adding the folder where your template is saved to Excel's Trusted Locations, you bypass the standard security blocks and allow macros to run safely.
When removing the 'Mark of the Web' block from Windows Properties isn't enough, Microsoft Excel relies on its internal Trust Center to determine safe files. Adding a specific folder to Trusted Locations instructs Excel to trust any file opened from that directory.
Launch Microsoft Excel, click on 'File' in the top-left corner, and select 'Options' at the bottom. In the Excel Options window, click 'Trust Center' on the left pane, then click the 'Trust Center Settings' button.
In the Trust Center window, select 'Trusted Locations' from the left-hand menu to view your currently trusted folders.
Click the 'Add new location' button at the bottom. Click 'Browse' to locate the folder where your trusted macro-enabled template is saved.
Check the box for 'Subfolders of this location are also trusted' if applicable. Click 'OK' on all dialog boxes to save your new settings. Open your file from this folder to use it without macro warnings.
Try WPS Office for Seamless Spreadsheet Management
If you are frustrated by complex Trust Center settings and persistent macro blocks in Microsoft Excel, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative for managing all your spreadsheets securely.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package.
- 2. Install the Software: Run the installer and follow the on-screen prompts to complete the setup on your Windows device.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheet and open your existing files to manage your data with ease.

Frequently Asked Questions
Why does Excel still block macros after I unblocked the file in Properties?
Microsoft Office employs strict security protocols for files originating from the internet. Even if you remove the 'Mark of the Web' in Windows Properties, Excel's Trust Center may still block macros if the file is not in a Trusted Location or if your global macro settings are set to disable them.
What is a Trusted Location in Excel?
A Trusted Location is a specific directory on your computer or network that you designate as safe. Files opened from a Trusted Location bypass standard Trust Center security checks, allowing macros and active content to run automatically without warnings.
Is it safe to enable all macros in Trust Center?
No. It is highly recommended to keep the setting 'Disable all macros with notification' enabled. Automatically enabling all macros exposes your computer to significant security risks, as malicious scripts could run without your permission.




