VBA & Macro Problems

How to Enable Macros in Excel Files Downloaded from Trusted Websites

Amos GikundaAmos Gikunda Oct 28, 2026 869 views

Question details

The user needs to enable macros in an Excel workbook downloaded from the internet, which remains blocked despite unblocking the file and trusting the source site.

How to Enable Macros in an Excel File Downloaded From a Trusted Website
Product
Microsoft Excel
Device & OS
Windows
Scenario
Opening and running a macro-enabled Excel file that was downloaded from a trusted website.
Observed behavior
Excel continues to block macros due to Windows security settings marking the file as originating from the internet, ignoring the manual unblock in file properties.
Before you start

Ensure that you completely trust the source of the downloaded Excel file before proceeding, as enabling macros from unknown or malicious sources can harm your computer.

Solution 1Recommended

Move the Workbook to an Excel Trusted Location

Bypass the internet security block by placing your downloaded file into a folder that Excel automatically trusts.

1
Access Excel Trust Center

Open Microsoft Excel, click on the 'File' tab in the top left corner, select 'Options' at the bottom, and then click on 'Trust Center'.

2
Open Trust Center Settings

Click the 'Trust Center Settings' button located on the right side of the Trust Center menu.

3
Find or Add a Trusted Location

Select 'Trusted Locations' from the left pane. You will see a list of folders Excel currently trusts. You can either note one of these folder paths or click 'Add new location' to designate a new folder as trusted.

4
Move Your Downloaded File

Close the Excel application. Open Windows File Explorer, locate your downloaded macro-enabled file, and move it into the Trusted Location folder you identified or created.

5
Reopen the File

Open the Excel file directly from the new Trusted Location. The security warning should disappear, and the macros will be automatically enabled.

Move the Workbook to an Excel Trusted Location
Security Warning: Only place files in a Trusted Location if you are absolutely certain they are safe. Any file placed in these folders will run macros without prompting for permission.
Free Microsoft Office alternative

Try WPS Office for a Seamless Spreadsheet Experience

If you frequently encounter restrictive security blocks or complex settings in Microsoft Excel, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative for managing your spreadsheets and daily office tasks without unnecessary friction.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the Software: Run the downloaded installation file and follow the straightforward on-screen instructions to set up WPS Office on your device.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheet and open your existing Excel files to enjoy a seamless, highly compatible editing experience.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .xlsm).Free to download and use with a familiar, intuitive interface.Lightweight installation that runs smoothly on older or less powerful PCs.Built-in tabbed viewing to manage multiple spreadsheets in a single window easily.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel block macros even after I click 'Unblock' in File Properties?

Windows applies a 'Mark of the Web' (MOTW) to files downloaded from the internet. Depending on your organization's group policies or specific Trust Center settings, Excel may ignore the manual unblock in Properties and require the file to be opened from a designated Trusted Location.

How do I add a network drive as a Trusted Location in Excel?

Go to File > Options > Trust Center > Trust Center Settings > Trusted Locations. Check the box at the bottom that says 'Allow Trusted Locations on my network (not recommended)', then click 'Add new location' and browse to your network drive path.

Can I enable macros globally for all downloaded files?

While you can enable all macros via Trust Center Settings > Macro Settings by selecting 'Enable all macros', this is highly discouraged. Doing so disables security warnings and leaves your computer completely vulnerable to malicious scripts.

What file formats support macros in Excel?

Macros are supported in Excel Macro-Enabled Workbooks (.xlsm), Excel Binary Workbooks (.xlsb), and older Excel 97-2003 Workbooks (.xls). Standard Excel Workbooks (.xlsx) cannot save macro code.