logo
search
VBA & Macro Problems

Fix VBA Buttons Not Working in Excel (Macros Enabled)

Emma BrownEmma Brown Sep 28, 2026 872 views

Question details

The user's VBA and ActiveX buttons in an XLSM workbook have stopped responding, despite macros being enabled and the file being stored in a trusted location.

How to Fix VBA Buttons Not Working in Excel When Macros Are Enabled
Product
Microsoft Excel
Device & OS
not provided
Scenario
Clicking command buttons in a macro-enabled workbook to execute VBA code or automate tasks.
Observed behavior
VBA buttons do not respond when clicked. Additionally, the Options window occasionally fails to open, and button dimensions sometimes change unexpectedly.
Before you start

Ensure you have saved your current workbook and know the exact local path where your .xlsm file is stored before modifying security settings or applying Office updates.

Solution 1Recommended

Install the Latest Microsoft Office Updates

Certain Microsoft Office updates contain bugs that break ActiveX controls and VBA buttons. Installing the latest patch often resolves these known issues.

Microsoft occasionally releases security patches that inadvertently disable ActiveX controls or cause VBA buttons to stop functioning. When this happens, Microsoft usually deploys a hotfix in the subsequent update.

1
Open Update Options

Launch Microsoft Excel, click on 'File' in the top-left corner, and select 'Account' from the left sidebar.

2
Update Now

Under the 'Product Information' section, click the 'Update Options' drop-down menu and select 'Update Now'.

3
Restart Your Computer

Wait for Excel to download and apply any available updates, then restart your computer to ensure the changes take effect.

Install the Latest Microsoft Office Updates
Check button functionality: After restarting, open your XLSM file and click the VBA buttons to see if they trigger the macros correctly.
Free Microsoft Office alternative

Use WPS Office for a Stable, Macro-Compatible Experience

If Microsoft Excel's VBA buttons keep breaking due to forced Office updates or corrupted software settings, consider switching to WPS Office. It provides robust compatibility with macro-enabled workbooks in a lightweight, free alternative.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
  2. 2. Open Your Workbook: Launch WPS Spreadsheet and open your .xlsm file containing the VBA buttons.
  3. 3. Enable Macros: Click 'Enable Macros' in the security warning prompt at the top to allow your buttons to function normally.
Seamlessly opens .xls, .xlsx, and .xlsm formatsHigh compatibility with basic Excel macros and scriptsLightweight application that runs reliably without buggy update interruptionsFamiliar ribbon interface requires no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why did my ActiveX button change size after I clicked it?

This is a known Microsoft Excel display bug often triggered by screen resolution scaling or corrupted ActiveX caches. Replacing ActiveX controls with standard Form Controls can permanently prevent this resizing issue.

Are Form Controls better than ActiveX controls in Excel?

Form Controls are built directly into Excel and are generally more stable across different versions and updates. ActiveX controls offer advanced formatting but are far more susceptible to security blocks, update bugs, and unresponsiveness.

How do I delete corrupted ActiveX cache (.exd) files?

Press Win + R, type '%temp%', and press Enter. Search the folder for any files ending in '.exd' (such as MSForms.exd) and delete them. Ensure Excel is closed while doing this. Excel will automatically recreate fresh, uncorrupted versions the next time you use ActiveX controls.