VBA & Macro Problems

Fix Excel Macros and Keyboard Shortcuts That Stop Working

Chanuka GeekiyanageChanuka Geekiyanage Dec 2, 2026 868 views

Question details

Diagnose Excel macros, function keys, and keyboard shortcuts that no longer respond.

Fix Excel Macros and Keyboard Shortcuts That Stop Working
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.
Before you start

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.

Solution 1Recommended

Check the workbook and macro security settings

Use this when a macro does not run or is unavailable in Excel.

1
Check the workbook format

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.

2
Review macro security

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.

3
Check the VBA project

Press Alt+F11 to open the Visual Basic Editor and inspect the Project Explorer for the workbook or add-in that contains the macro.

4
Run the macro directly

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.

Check the workbook and macro security settings
Downloaded files may be blocked: If a trusted file downloaded from the internet is blocked, close it, right-click the file in Windows File Explorer, and select Properties. If an Unblock checkbox is available, select it and click Apply.
Free Microsoft Office alternative

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.

Open and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet tools and keyboard navigationMove existing Office documents into a familiar workspaceUse a free, lightweight office suite
microsoft office alternative - wps office

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.