logo
search
Office Apps Crashing

How to Fix Excel Closes Unexpectedly with Error Message

Algirdas JasaitisAlgirdas Jasaitis Oct 7, 2026 869 views

Question details

The user experiences sudden crashes in Microsoft Excel, accompanied by an error message stating the program has encountered an error.

How to Fix Excel Closes Unexpectedly and Displays an Error
Product
Microsoft Excel
Device & OS
Windows
Scenario
Working on or opening an Excel workbook when the application suddenly crashes.
Observed behavior
Excel closes unexpectedly without warning, displays a generic error message, and the built-in repair prompt may fail to resolve the issue.
Before you start

Before troubleshooting, ensure you have saved any open files in other Office applications and check if your Windows operating system has any pending updates.

Solution 1Recommended

Start Excel in Safe Mode and Disable Add-ins

Running Excel in Safe Mode helps identify if a third-party add-in is causing the application to crash unexpectedly.

Add-ins can sometimes conflict with Excel's core operations, leading to sudden closures. Safe Mode bypasses these add-ins, allowing you to isolate the problematic extension.

1
Open the Run dialog

Press the Windows key + R simultaneously on your keyboard to open the Run window.

2
Launch Excel in Safe Mode

Type 'excel /safe' in the box and press Enter. If Excel opens successfully without crashing, an add-in is likely the culprit.

3
Access Add-ins settings

Go to File in the top-left corner, click Options, and select Add-ins from the left sidebar.

4
Disable COM Add-ins

At the bottom of the window, change the Manage dropdown to 'COM Add-ins' and click Go. Uncheck all add-ins and click OK, then restart Excel normally to see if the issue is resolved.

Start Excel in Safe Mode and Disable Add-ins
Testing Add-ins: If disabling all add-ins stops the crashes, re-enable them one by one to identify which specific add-in is causing the error.
Free Microsoft Office alternative

Try WPS Office When Excel Keeps Crashing

If Microsoft Excel continues to close unexpectedly and standard repair tools fail, consider switching to WPS Office. It is a highly compatible, free, and lightweight alternative that opens your existing spreadsheets without the frustration of constant crashing.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for Windows.
  2. 2. Install the software: Run the installer and follow the on-screen instructions to complete the setup in minutes.
  3. 3. Open your Excel files: Launch WPS Spreadsheet and open your existing .xlsx files seamlessly to resume your work without data loss.
100% compatible with Microsoft Excel (.xlsx, .xls, .csv) formatsLightweight application that requires fewer system resources, preventing random crashesFamiliar user interface with no learning curve requiredCompletely free to download and use for essential spreadsheet and document tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel say it has encountered an error and needs to close?

This error is typically caused by conflicting third-party add-ins, corrupted Office installation files, outdated software, or interference from background antivirus programs.

Will I lose my data if Excel closes unexpectedly?

If AutoRecover is enabled in your settings, Excel will attempt to save a backup of your work. You can usually recover it by reopening Excel and checking the Document Recovery pane that appears on the left side.

How do I open a corrupted workbook that is causing Excel to crash?

Open Excel first without opening the file. Go to File > Open, select your corrupted file, click the small arrow next to the Open button at the bottom, and choose 'Open and Repair' to attempt data recovery.

What should I do if the Microsoft Office repair tool also fails?

If the repair tool fails, it indicates severe corruption in the installation files. You will need to completely uninstall Microsoft Office, ideally using the Microsoft Support and Recovery Assistant tool, and then reinstall a fresh copy from your Microsoft account.