How to Enable Macros in Excel Files Downloaded from Trusted Websites
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.

- 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.
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.
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.
Open Microsoft Excel, click on the 'File' tab in the top left corner, select 'Options' at the bottom, and then click on 'Trust Center'.
Click the 'Trust Center Settings' button located on the right side of the Trust Center menu.
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.
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.
Open the Excel file directly from the new Trusted Location. The security warning should disappear, and the macros will be automatically enabled.

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. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
- 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. Open Your Spreadsheets: Launch WPS Spreadsheet and open your existing Excel files to enjoy a seamless, highly compatible editing experience.

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.




