logo
search
VBA & Macro Problems

How to Fix Microsoft Excel Blocked Macros Security Warning

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Open Trust Center Settings

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.

2
Navigate to Trusted Locations

In the Trust Center window, select 'Trusted Locations' from the left-hand menu to view your currently trusted folders.

3
Add a New Location

Click the 'Add new location' button at the bottom. Click 'Browse' to locate the folder where your trusted macro-enabled template is saved.

4
Confirm and Save

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.

Security Tip: Never add your default 'Downloads' folder to Trusted Locations, as this compromises your system's security against auto-running malicious files.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS Office website and download the free installation package.
  2. 2. Install the Software: Run the installer and follow the on-screen prompts to complete the setup on your Windows device.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheet and open your existing files to manage your data with ease.
Highly compatible with Microsoft Office formats, including .xlsx, .xls, and .csv.Lightweight and fast, consuming minimal system resources.Familiar user interface ensures a seamless transition with no learning curve.Robust built-in security features to keep your sensitive data safe.
microsoft office alternative - wps office

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.