How to Enable Macros in an Excel Macro-Enabled Workbook
Question details
The user needs to enable macros in an Excel workbook, as they become disabled when reopening the file and standard unblock options are missing in the settings.
- Product
- Excel
- Device & OS
- not provided
- Scenario
- Reopening an Excel macro-enabled workbook after initial use.
- Observed behavior
- Macros work initially but are disabled upon reopening. The Trust Center settings lack an unblock option or macro security prompt.
Ensure the workbook is saved in a macro-enabled format (.xlsm or .xlsb) and verify that you trust the source of the file before attempting to enable active content.
Unblock the File from Windows Properties
Files downloaded from the internet or received via email are often blocked by Windows security, which prevents macros from running.
Windows automatically adds a 'Mark of the Web' to files originating from another computer or the internet. This forces Excel to open them in Protected View and disables macros without showing the standard Trust Center prompts.
Ensure that the Excel workbook in question is completely closed before attempting to change its file properties.
Locate the downloaded workbook in File Explorer, right-click the file, and select 'Properties' from the context menu.
Navigate to the 'General' tab. Look for a 'Security' section at the bottom, check the box that says 'Unblock', and click 'Apply' then 'OK'.
Add the Folder to Excel Trusted Locations
Moving the file to a Trusted Location bypasses standard macro security checks, automatically enabling them.
Consult Advanced VBA Communities
If Trust Center options are missing due to group policies or specialized VBA corruption, dedicated programmer forums can provide deeper insights.
Try WPS Office for Seamless Spreadsheet Management
If you are experiencing persistent issues with Excel's Trust Center, macro security roadblocks, or hidden settings, consider trying WPS Office. It provides a highly compatible alternative for managing your spreadsheets, complex formulas, and data analysis tasks efficiently.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Application: Run the downloaded installer and follow the quick on-screen prompts to set up WPS Office on your device.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheet and open your existing Excel files directly to continue your work without formatting loss.

Frequently Asked Questions
Why do my macros disable themselves after reopening the workbook?
This usually happens when the file is tagged with a 'Mark of the Web' by Windows because it was downloaded from the internet or an email attachment. Windows automatically blocks active content upon reopening unless explicitly unblocked in the file properties.
Why is there no 'Enable Content' prompt in my Trust Center?
If your Trust Center settings are configured to 'Disable all macros without notification', the security prompt will not appear. Additionally, IT administrators in enterprise environments often use group policies to hide or lock these settings to prevent malicious code execution.
Can I permanently enable macros for a specific folder?
Yes. By adding a folder to your 'Trusted Locations' in the Excel Trust Center settings, any macro-enabled workbook placed in that folder will run automatically without prompting you for security permissions.
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 .xlsx files cannot store VBA macro code.




