logo
search
VBA & Macro Problems

Fix Excel Macros Not Available or Disabled

Ayan MasoodAyan Masood Sep 29, 2026 869 views

Question details

The user needs to troubleshoot and resolve issues where Excel macros are disabled, unavailable, or causing the application to crash upon enabling them.

How to Fix Excel Macros Not Available or Disabled
Product
Microsoft Excel
Device & OS
not provided
Scenario
Trying to open or run a macro-enabled workbook but the macros are blocked by security settings, or Excel crashes immediately when macros are enabled.
Observed behavior
Macros fail to run, the 'Enable Content' prompt is missing, or Excel crashes and forces other open files to close when macros are activated.
Before you start

Ensure that the macro-enabled file (.xlsm) is downloaded from a trusted source, as macros can contain malicious code. Save any other open workbooks before troubleshooting to prevent data loss in case of an unexpected crash.

Solution 1Recommended

Unblock the File and Adjust Trust Center Settings

Use this method if the macro-enabled file was downloaded from the internet or received via email, which triggers Windows security to block it.

Windows automatically blocks macros in files originating from another computer or the internet. You must first unblock the file in Windows File Explorer before adjusting Excel's internal security settings.

1
Unblock the downloaded file

Right-click the downloaded Excel file on your computer and select 'Properties'. In the General tab, look for the Security section at the bottom, check the 'Unblock' box, and click 'OK'.

2
Access Excel Trust Center

Open Microsoft Excel and navigate to File > Options > Trust Center, then click the 'Trust Center Settings' button.

3
Configure Macro Settings

Select 'Macro Settings' from the left pane, choose 'Disable all macros with notification', and click 'OK' to save the changes.

4
Enable content

Reopen the macro-enabled workbook. When the yellow security warning bar appears at the top of the sheet, click 'Enable Content' to activate the macros.

Unblock the File and Adjust Trust Center Settings
Pro Tip: If you frequently work with safe macro files from a specific folder, you can add that folder to 'Trusted Locations' in the Trust Center so files within it open with macros enabled automatically.
Free Microsoft Office alternative

Try WPS Office for a Stable Spreadsheet Experience

If Microsoft Excel continues to crash or struggle with complex files, consider switching to WPS Office. It provides a lightweight, highly stable alternative for handling spreadsheets, documents, and presentations seamlessly.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the software: Run the downloaded installer and follow the simple on-screen instructions to set up the office suite.
  3. 3. Open your spreadsheets: Launch WPS Spreadsheet and easily open your existing Excel files to continue your work without interruptions.
Fully compatible with Microsoft Excel formats including .xlsx, .xls, and .csv.Lightweight architecture that runs smoothly on older devices, minimizing crashes.Familiar user interface requiring zero learning curve for experienced Excel users.Excellent stability when handling large datasets and complex spreadsheet formulas.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the 'Enable Content' button not showing in Excel?

This usually happens if your Trust Center settings are set to 'Disable all macros without notification', or if the file is stored in a location restricted by your organization's IT security policies.

Can a Windows or Office update cause Excel macros to stop working?

Yes, occasionally Microsoft Office or Windows security updates patch vulnerabilities that might inadvertently block certain macros or VBA components. Rolling back the recent update or contacting your IT administrator can help resolve this.

How do I add a specific folder to Trusted Locations in Excel?

Go to File > Options > Trust Center > Trust Center Settings > Trusted Locations. Click 'Add new location...', browse to your desired folder on your computer, check the box for 'Subfolders of this location are also trusted' if needed, and click OK.

Why does Excel crash and close other files when I enable macros?

Crashes upon enabling macros are often caused by corrupted workbook structures, conflicting COM add-ins, or an infinite loop written into the VBA code itself. Starting Excel in Safe Mode or using the 'Open and Repair' feature can help isolate and fix the cause.