Fix Disabled Excel VBA and Macro Commands After a Crash
Question details
Excel VBA, Macros, and Record Macro commands are unavailable after a crash unless Excel is run as administrator.

- 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.
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.
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.
Press Windows+R, enter excel /safe, and select OK. Open a blank workbook and check Developer > Visual Basic, Macros, and Record Macro.
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.
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.
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.
Repair the Microsoft Office installation
Try an Office repair if the commands remain disabled across workbooks after checking add-ins and settings.
Restore Windows to a point before the Excel issue began
If other troubleshooting does not help, use an available restore point from before the crash. This resolved the issue in the reported case.
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.

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.





