VBA & Macro Problems

Fix Disabled Excel VBA and Macro Commands After a Crash

John WilsonJohn Wilson Nov 25, 2026 870 views

Question details

Excel VBA, Macros, and Record Macro commands are unavailable after a crash unless Excel is run as administrator.

Fix Disabled Excel VBA and Macro Commands After a Crash
Product
Microsoft Excel
Device & OS
Windows (version not provided)
Scenario
The user wants to work with VBA and record or run macros in Excel under a normal Windows account.
Observed behavior
VBA and macro commands are disabled after a crash, although Trust Center settings appear correct; running Excel as administrator makes them available.
Before you start

Close Excel and reopen it normally, without selecting Run as administrator. Check whether the commands are disabled in a new blank workbook as well as in the affected file.

Solution 1

Check Excel Safe Mode, add-ins, and macro settings

Use these checks to identify whether an add-in, file restriction, or security setting is contributing to the disabled commands.

1
Start Excel in Safe Mode

Press Windows+R, enter excel /safe, and select OK. Open a blank workbook and check Developer > Visual Basic, Macros, and Record Macro.

2
Review add-ins

If the commands work in Safe Mode, open Excel normally and go to File > Options > Add-ins. Select COM Add-ins in the Manage box, click Go, and clear add-ins one at a time to identify a possible conflict.

3
Check Trust Center settings

Go to File > Options > Trust Center > Trust Center Settings > Macro Settings. Review the selected policy and use the notification option appropriate for your organization; do not enable all macros just to test the issue.

4
Check the workbook banner

If the issue occurs only in a downloaded workbook, look for a Protected View or security banner. Select Enable Editing or Enable Content only if you trust the file and its source.

Security policies may apply: An organization may control macro settings or block macros from downloaded files. Contact your administrator if the settings are unavailable or managed by policy.
Free Microsoft Office alternative

Work with Excel spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open and edit compatible Excel files to make the transition easier; it does not repair Microsoft Excel or its VBA installation.

Open and edit Microsoft Excel XLS and XLSX filesUse a familiar interface for everyday spreadsheet workWork with formulas, charts, and tables in a lightweight office suiteMove compatible spreadsheets between WPS Office and Microsoft Office
microsoft office alternative - wps office

Frequently Asked Questions

Should I keep running Excel as administrator to use macros?

Avoid using administrator mode as a routine workaround. Open Excel normally and check Safe Mode, add-ins, Trust Center settings, and Office repair instead.

How do I open Excel in Safe Mode?

Press Windows+R, type excel /safe, and select OK. If the commands work there, review add-ins under File > Options > Add-ins.

Where are Excel's macro security settings?

Open File > Options > Trust Center > Trust Center Settings > Macro Settings. Some settings may be controlled by your organization.

What if I don't have a restore point from before the crash?

You cannot restore to a point that does not exist. Try Office repair and add-in troubleshooting, or ask for help in a Microsoft Excel VBA support forum.

Will WPS Office fix disabled VBA commands in Excel?

No. WPS Office is a separate spreadsheet alternative and does not repair Excel. VBA and macro compatibility may differ, so test any macro-enabled files before relying on them.