logo
search
VBA & Macro Problems

Fix Excel Macro Buttons Disabled After Office 365 Update

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user needs to restore functionality to Excel macro buttons that have become unclickable and resolve Visual Basic removal prompts following a recent software update.

Product
Microsoft Excel
Device & OS
not provided
Scenario
Attempting to use an existing macro-enabled workbook (.xlsm or .xlsb) immediately after installing a Microsoft 365 or Office update.
Observed behavior
Macro buttons are completely disabled, and Excel displays warning messages prompting the user to remove the Visual Basic code from the file.
Before you start

Do not click 'Yes' to remove the Visual Basic code from your Excel files when prompted, as this will permanently delete your macros. Ensure you have created a backup copy of your workbook before attempting any fixes.

Solution 1Recommended

Report the Software Compatibility Bug to Microsoft

Since the macros functioned correctly prior to the update, this is likely a software bug introduced by the new Office 365 build rather than a VBA coding error.

Microsoft frequently releases updates that can inadvertently disrupt legacy features, such as ActiveX controls or VBA macros. Because this issue appeared immediately after an update, it requires an official patch from the Excel development team rather than a modification of your existing code.

1
Gather your system and Office information

Navigate to File > Account in Excel to note down your exact Office 365 build number. Also, identify your operating system version and the specific file format (.xlsm or .xlsb) you are using.

2
Document the exact error message

Take a screenshot or precisely copy the text of the Visual Basic removal message that Excel displays when you open the file or attempt to click a macro button.

3
Contact Microsoft Excel Support

Use the Help tab in the Excel ribbon or your Microsoft 365 admin center to reach out to Microsoft Support. Provide them with your build number and the exact error message so they can investigate the bug.

Avoid modifying your VBA code: Resist the urge to rewrite your VBA scripts to 'fix' this issue, as the underlying problem lies within the Office update itself, and altering code may cause further complications.
Free Microsoft Office alternative

Avoid Disruptive Office Updates with WPS Office

If sudden Microsoft 365 updates are breaking your workflow and disabling your essential spreadsheets, consider switching to WPS Office. It provides a highly stable environment that ensures your documents, spreadsheets, and presentations continue to work smoothly without unexpected feature deprecations.

Highly compatible with Microsoft Excel formats (.xlsx, .xlsm, .csv)Stable software environment without forced updates breaking your workflowFamiliar user interface for seamless and quick migration from Microsoft OfficeLightweight application that runs smoothly even on older devices
microsoft office alternative - wps office

Frequently Asked Questions

Why did my macro buttons suddenly stop working in Excel?

This typically occurs after a Microsoft Office update introduces compatibility issues or enforces stricter macro security policies by default, which can unexpectedly disable ActiveX controls or form buttons that previously functioned perfectly.

Should I let Excel remove the Visual Basic project if prompted?

No, unless you have a secure backup of the file. Allowing Excel to remove the Visual Basic project will permanently delete all your VBA code and macros from that specific workbook.

Can I roll back my Office 365 update to fix the macros?

Yes, reverting to a previous, stable build of Microsoft 365 using the Office Deployment Tool or command prompt can temporarily restore your macro button functionality until Microsoft releases an official patch for the bug.