Fix Excel Macros and Keyboard Shortcuts That Stop Working
Question details
Diagnose Excel macros, function keys, and keyboard shortcuts that no longer respond.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Macros or shortcuts stop responding after keyboard, Windows, or graphics settings change.
- Observed behavior
- Excel macros, function keys, or keyboard shortcuts do not respond as expected.
Open the affected workbook and identify which macro or shortcut is unresponsive. Check whether the shortcut works in another application and whether the workbook comes from a trusted source.
Check the workbook and macro security settings
Use this when a macro does not run or is unavailable in Excel.
In Excel, select File > Save As and check that the workbook is saved as an Excel Macro-Enabled Workbook (.xlsm), or another macro-enabled format.
Go to File > Options > Trust Center > Trust Center Settings > Macro Settings. Review the settings and enable content only when you trust the workbook and its source.
Press Alt+F11 to open the Visual Basic Editor and inspect the Project Explorer for the workbook or add-in that contains the macro.
Return to Excel, press Alt+F8, select the macro, and click Run. If it runs here but not from its shortcut, check the assigned shortcut in the macro's Options dialog.

Test Excel in Safe Mode and disable conflicting add-ins
Use Safe Mode to check whether an add-in is interfering with macros or shortcuts.
Check keyboard modes and shortcut interception
Use this when function keys or shortcuts fail even though the macro is available.
Work with spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing spreadsheets. Its Microsoft Office format compatibility makes it easier to move existing files, though it does not fix Excel settings or guarantee VBA macro compatibility.

Frequently Asked Questions
Why does my macro run from Alt+F8 but not from its shortcut?
The shortcut may be unassigned, intercepted, or affected by the keyboard's Fn mode. Press Alt+F8, select the macro, and click Options to check its shortcut, then review keyboard and hotkey utilities.
How do I know whether an Excel add-in is causing the problem?
Press Windows+R, enter excel /safe, and test the workbook. If the problem disappears, restart Excel normally and test add-ins under File > Options > Add-ins.
Should I enable all macros to fix the issue?
No. In File > Options > Trust Center > Trust Center Settings > Macro Settings, review the available options and enable content only for workbooks you trust.
Can WPS Office fix my Excel macro settings?
No. Excel's Trust Center, add-ins, and VBA settings must be checked in Excel. WPS Office is an alternative for spreadsheet editing, but VBA macro compatibility may vary.




