VBA & Macro Problems

Fix Disabled XLSM Macros and VBA Buttons in Excel 2016

John WilsonJohn Wilson Nov 27, 2026 870 views

Question details

The user needs to restore macros and access to VBA commands in Excel 2016.

Fix Disabled XLSM Macros and VBA Buttons in Excel 2016
Product
Microsoft Excel 2016
Device & OS
not provided
Scenario
Opening macro-enabled XLSM workbooks after upgrading to Office 2016.
Observed behavior
Workbooks may show security warnings and have disabled macro buttons. The Visual Basic and Macros commands on the Developer tab may also be unavailable.
Before you start

Confirm that the affected file is an XLSM workbook and that you trust its source before enabling any macros. Test another trusted XLSM file to see whether the issue affects one workbook or Excel more broadly.

Solution 1Recommended

Check Macro Security and Trusted Locations in Excel

Use this approach when a trusted workbook opens with a security warning or its macro buttons do not work.

1
Check the security warning

Open the trusted XLSM workbook in Excel. If a security warning appears, select Enable Content only after confirming that the file and its macros are safe.

2
Review macro settings

Go to File > Options > Trust Center > Trust Center Settings > Macro Settings. Review the current setting and choose an option that allows notification for macros, subject to your organization's security policies.

3
Check trusted locations

In Trust Center Settings, select Trusted Locations. If appropriate, add a secure folder you control, move the trusted workbook there, and reopen it.

4
Check a downloaded file

If the workbook came from the internet, close Excel, right-click the file in File Explorer, and select Properties. If an Unblock checkbox appears, select it only if you trust the file, then select Apply and reopen the workbook.

Check Macro Security and Trusted Locations in Excel
Keep macro security in place: Do not enable all macros or trust a shared or unknown folder solely to remove the warning. Trust only files and locations you recognize.
Free Microsoft Office alternative

Work With Excel Spreadsheets in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar spreadsheet interface and support for common Excel formats, making it easier to move everyday spreadsheet work. It does not repair Excel's VBA settings, and macro compatibility varies.

Open and edit common Excel spreadsheet formats, including XLSXUse familiar spreadsheet tools for everyday workbook tasksMove routine spreadsheet work to a lightweight, free office suiteCheck macro-dependent workbooks carefully because VBA support can vary
microsoft office alternative - wps office

Frequently Asked Questions

Why are macros disabled when I open my XLSM file?

Excel may block macros because of Trust Center settings, the file's download origin, or an organization's security policy. Check the warning in Excel and review File > Options > Trust Center > Trust Center Settings > Macro Settings.

How do I unblock a workbook I downloaded?

If you trust the file, close Excel, right-click the workbook in File Explorer, and select Properties. If Unblock is available, select it, choose Apply, and reopen the file.

What if Visual Basic and Macros are unavailable in every workbook?

Test a new XLSM workbook and check for Office updates under File > Account > Update Options > Update Now. If the commands remain unavailable, ask Microsoft Support or your IT administrator to investigate the Office installation and applicable policies.

Will WPS Office fix disabled VBA commands in Excel?

No. WPS Office is a separate office suite and cannot change Excel's VBA settings. It can handle common spreadsheet tasks, but check compatibility before relying on an existing VBA workbook.