VBA & Macro Problems

Fix Excel XLSB and XLSM Files Crashing or Losing Macros

Guest WriterGuest Writer Oct 9, 2026 869 views

Question details

Users are encountering an issue where macro-enabled Excel workbooks crash or lose their macros during operation, though they temporarily work after being emailed back and forth.

How to Fix Excel XLSB and XLSM Files Crashing or Losing Macros
Product
Microsoft Excel
Device & OS
not provided
Scenario
Working with macro-enabled workbooks (.xlsb and .xlsm formats) for data processing or automation.
Observed behavior
The XLSB or XLSM files crash unexpectedly or appear to strip out macros entirely, indicating potential file corruption or software conflicts within the environment.
Before you start

Before proceeding, ensure that your Microsoft 365 applications are fully updated to the latest build, and save a backup copy of your macro-enabled workbooks to a local drive.

Solution 1Recommended

Request Support via Microsoft 365 Admin Center

Since this behavior often points to deep software conflicts or server-side corruption affecting macro files, engaging Microsoft Support is the most reliable path to resolution.

This issue is frequently caused by underlying software conflicts within the Microsoft 365 ecosystem. Since the files work intermittently after being emailed, the root cause may involve local environment settings or background updates.

1
Log in to the Admin Center

Have your Microsoft 365 administrator sign in to the Microsoft 365 admin center using their administrator credentials.

2
Navigate to Support

On the left-hand navigation pane of the admin dashboard, click on 'Support' and then select 'New service request'.

3
Submit the Issue

Provide a detailed description of the XLSB and XLSM crashing behavior, noting that files temporarily work after being emailed, and submit the ticket for investigation.

Request Support via Microsoft 365 Admin Center
Admin Access Required: Only users with admin privileges can create a new service request. If you are an end-user, you must contact your IT department.
Free Microsoft Office alternative

Try WPS Office for Stable Macro Support

If you are constantly facing macro crashes, missing VBA modules, or software conflicts in Microsoft Excel, WPS Office provides a lightweight and highly compatible alternative. WPS Spreadsheet includes robust VBA macro support and flawlessly reads XLSM and XLSB formats.

  1. 1. Install WPS Office: Download the free WPS Office suite from the official website and install it on your computer.
  2. 2. Open Your Macro File: Launch WPS Spreadsheet and go to Menu > Open to load your existing .xlsm or .xlsb files.
  3. 3. Run Macros Securely: Navigate to the Developer tab to enable, edit, and run your VBA macros in a stable environment.
Seamlessly opens, edits, and saves Microsoft Excel .xlsm and .xlsb formats without layout issues.Built-in VBA macro support allows you to run existing automation scripts smoothly.Lightweight architecture minimizes software conflicts and system resource usage.Familiar spreadsheet interface requires zero learning curve for Excel users.
microsoft office alternative - wps office

Frequently Asked Questions

Why are my XLSM and XLSB files losing macros?

Files may appear to lose macros due to corrupted COM add-ins, aggressive antivirus scanning removing macro modules, or strict Trust Center macro security settings blocking the scripts from loading. Software conflicts in updates can also trigger this behavior.

What is the difference between XLSB and XLSM formats?

Both formats support macros. XLSM is a macro-enabled XML-based workbook, while XLSB is a binary workbook format. XLSB files are typically smaller and load faster for large datasets, but both can experience crashing issues if the Excel installation or background software has conflicts.

How do I fix Excel crashing when running a macro?

Start by opening Excel in Safe Mode (typing 'excel /safe' in the Windows Run dialog) to rule out add-in conflicts. If the issue persists, run an Online Repair of Microsoft Office from the Windows Control Panel, or have your admin open a support request.