logo
search
Office Apps Crashing

How to Fix Excel Crashing When Opening Files With an Error Message

WPS EditorWPS Editor Sep 29, 2026 870 views

Question details

The user experiences Microsoft Excel crashing immediately after opening files, accompanied by an error message stating it has encountered an error.

How to Fix Excel Crashing When Opening Files With an Error Message
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Windows Settings

Click the Start menu and select the gear icon to open Windows Settings, then navigate to 'Apps' and select 'Installed apps' (or 'Apps & features').

2
Modify the Office Installation

Scroll down or search to find 'Microsoft 365' or 'Microsoft Office'. Click the three-dot menu icon next to it and select 'Modify'.

3
Run Online Repair

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.

4
Restart Your Computer

Once the repair is completely finished, restart your PC and try opening your Excel file again.

Perform a Full Online Repair via Windows Settings
Tip: You may need to sign back into your Microsoft account with your email and password after the Online Repair finishes.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and download the free installer for Windows.
  2. 2. Install WPS Office: Run the installer. The lightweight package installs in just a few minutes.
  3. 3. Open Your Workbooks: Right-click your crashing .xlsx file, choose 'Open with', and select WPS Spreadsheets to view and edit your data safely.
Highly stable and lightweight, minimizing software crashes when opening large spreadsheets.Strict format compatibility with Microsoft Excel files, including .xlsx, .xls, and .csv.Completely free to use with a familiar, easy-to-learn tabbed interface.Fast installation process that runs smoothly even on older or slower Windows PCs.
microsoft office alternative - wps office

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.