How to Fix Excel Crashing When Opening Files With an Error Message
Question details
The user experiences Microsoft Excel crashing immediately after opening files, accompanied by an error message stating it has encountered an error.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Opening existing workbooks in Microsoft Excel
- Observed behavior
- Excel displays 'We are sorry, but Excel has encountered an error that is preventing it from working correctly' and closes. The built-in 'Repair Now' option does not resolve the issue.
Ensure all Microsoft Office applications are completely closed and save any unsaved work in other running programs, as the repair process will require a system restart.
Perform a Full Online Repair via Windows Settings
Use the comprehensive Online Repair tool to download and replace corrupted Microsoft Office installation files that the quick 'Repair Now' button fails to fix.
Because this error can affect the entire Office suite, running an Online Repair is the most effective solution. It takes approximately 15–30 minutes and requires an active internet connection.
Click the Start menu and select the gear icon to open Windows Settings, then navigate to 'Apps' and select 'Installed apps' (or 'Apps & features').
Scroll down or search to find 'Microsoft 365' or 'Microsoft Office'. Click the three-dot menu icon next to it and select 'Modify'.
In the pop-up dialog, select 'Online Repair' (rather than Quick Repair) and click the 'Repair' button. Allow the process to finish without canceling it.
Once the repair is completely finished, restart your PC and try opening your Excel file again.

Test Excel in Safe Mode and Disable Add-ins
Launch Excel without loading any third-party add-ins to determine if a malfunctioning plugin is responsible for the crash.
Try WPS Office When Excel Keeps Crashing
If Microsoft Excel continues to crash or requires time-consuming troubleshooting, consider switching to WPS Office. It is a highly stable, lightweight alternative that opens your existing spreadsheets seamlessly.
- 1. Download the Installer: Visit the official WPS Office website and download the free installer for Windows.
- 2. Install WPS Office: Run the installer. The lightweight package installs in just a few minutes.
- 3. Open Your Workbooks: Right-click your crashing .xlsx file, choose 'Open with', and select WPS Spreadsheets to view and edit your data safely.

Frequently Asked Questions
What does the 'Excel has encountered an error' message mean?
This generic error indicates that Excel's core application files are corrupted, a background process is interfering with the software, or an incompatible third-party add-in is forcing the application to shut down.
Why didn't the 'Repair Now' button work?
The built-in 'Repair Now' prompt typically attempts a very superficial quick fix. A full Online Repair via Windows Settings is usually required because it actually downloads and replaces the damaged installation files from Microsoft's servers.
How do I find out which add-in is causing Excel to crash?
Boot Excel in Safe Mode by typing 'excel /safe' in the Windows Run dialog. If it opens successfully without crashing, go to File > Options > Add-ins, disable all COM Add-ins, and then re-enable them one by one. Restart Excel each time to isolate the specific plugin causing the issue.




