We're Sorry but Excel Has Run into An Error: Repair Now and What to Do Next

The we're sorry but Excel has run into an error message is an Excel crash, not a workbook warning. This guide explains why Repair Now may close Excel without fixing anything, how to separate an app-wide crash from one damaged file, and which documented repair path fits each case, with limits noted.

By Delores    Updated on November 27, 2026

Quick Answer

When we're sorry, but Excel has run into an error appears, Excel is reporting an application crash, not a problem with a single spreadsheet. The dialog offers Repair Now, but in reported cases, that button has closed the program without solving the cause, and the message returned on the next launch. Start by testing scope: open Excel with a blank workbook. If it crashes before any file loads, repair the Office installation or its startup environment. If only one .xlsx or .xls file triggers the message, repair that workbook instead.

The distinction matters more than the exact wording. Microsoft Q&A threads use the phrasing Excel ran into an error and " Office 365: We’re sorry, but Excel has run into an error that is preventing it from working correctly for the same crash family. The steps below follow the order support staff actually recommend: one controlled try of the on-screen button, then repair from Windows, then add-in and startup-file isolation, then workbook-level recovery.

We're Sorry, But Excel Has Run into An Error

 

Excel has run into an error that is preventing it from working correctly. Excel will need to be closed as a result. Would you like to repair now?

When I open an Excel spreadsheet that I have used every day for months, a box pops up that says We're sorry, but Excel has run into an error that is preventing it from working correctly. Excel will need to be closed as a result. Would you like to repair now? I click Repair. It closes, and nothing I entered was saved.

- Question from learn.microsoft.com

If you are stuck with the same problem, don’t worry. We have checked the solutions from the thread’s answer: Moderators suggested checking updates, testing Excel/safe, and running Quick Repair before Online Repair; a separate answer advised skipping the in-app button and running Online Repair from Windows. And a related case where a moderator traced the same crash to startup files and an .xlb toolbar file. We will explain more details for you in the following.

Why Does Excel Run into An Error?

Four causes account for most reported cases.

  • A COM add-in loaded at startup can fail after an Office update.
  • A damaged workbook or template in the XLSTART folder opens automatically before the Excel window is usable.
  • An interrupted Office update leaves mixed file versions.
  • Older printer or video drivers conflict with Excel when it renders a sheet.

Microsoft's guidance on Excel freezes also lists calculation mode, network file locations, default printers, and video drivers as environmental factors worth testing.

How to Tell Whether Excel Itself Is Broken or Just One Workbook Is Corrupted

Use a blank workbook as the dividing line. Launch Excel and create a new file. If the error appears before you open anything, or if Word shows the same dialog, the fault sits in the Office installation, a loaded add-in, a startup file, or a system driver.

If Excel opens normally and the crash returns only when you open one workbook, that file is likely corrupted. Microsoft support staff ask this exact question first, because the two repair paths do not overlap.

What the Repair Now Button Actually Does

Repair Now is an in-application recovery prompt. It closes the crashed Excel process and attempts a quick local correction, but it does not rebuild Office components.

Microsoft's own repair documentation draws a clearer line: Quick Repair detects and replaces corrupted files, while Online Repair rebuilds the installation and needs an internet connection. When the prompt keeps returning, run the wider repair from Windows rather than repeating the dialog button.

How to Fix Excel Running into an Error at the Application Level

1. Close Excel, Word, Outlook, and every other Office application so no process holds a file lock.

2. Open Settings, then Apps. On Windows 11, choose Installed apps; on Windows 10, choose Apps and features.

3. Find Microsoft 365 or Microsoft Office, select the three-dot menu, and choose Modify.

4. For a Click-to-Run installation, select Online Repair and then Repair. If the installer shows an MSI screen instead, select Repair and then Continue.

5. Let the repair finish, restart Windows, then open Excel with a blank workbook before opening any saved file.

Tips: Online Repair takes longer and requires an internet connection, and you may need to sign in to Office again afterward. Quick Repair is faster but only replaces corrupted files, which is why repeating Repair Now often changes nothing.

Test Safe Mode to Isolate Add-ins

If Online Repair does not stop the crash, check whether a load-on-start component is responsible.

1. Press Windows + R, type excel /safe, and press Enter.

2. Confirm the title bar reads Microsoft Excel (Safe Mode).

3. Open File > Options > Add-ins, set Manage to COM Add-ins, and select Go.

4. Clear the add-in checkboxes, select OK, close Excel, and reopen it normally.

5. If normal startup works, enable add-ins one at a time, restarting Excel after each one until the crash returns.

Tips: Microsoft's stopped-working guide confirms the title-bar check and advises isolating add-ins one by one. If Excel will not start even in Safe Mode, the problem is not an add-in; stay on the installation and driver path.

Clear Startup Files When the Crash Happens Before Any Workbook Opens

1. Press Windows + R, enter %appdata%\Microsoft\Excel\XLSTART, and press Enter.

2. Move every file in that folder to the Desktop so Excel can no longer load it automatically.

3. In %appdata%\Microsoft\Excel, rename any .xlb toolbar file by appending .old.

4. Restart Excel and open a blank workbook to confirm startup succeeds.

5. Return moved files one at a time only if you need them, restarting Excel after each one.

Tips: A damaged file in the startup folder can crash Excel before any workbook window appears, which mimics an installation fault. Move files rather than deleting them, since one may be a template you rely on.

When the Error Hits One File: Open and Repair

Microsoft documents Open and Repair as the manual route when File Recovery mode does not start on its own. Use it only after the blank-workbook test shows Excel itself is healthy.

1. Copy the affected .xlsx or .xls file to a local drive first, especially if it came from a network share or SharePoint.

2. In Excel, choose File > Open and browse to the copied file.

3. Select the file, then click the arrow next to Open and choose Open and Repair.

4. Choose Repair to recover as much of the workbook as possible.

5. If Repair cannot restore the data, repeat the process and choose Extract Data to pull out values and formulas.

Tips: Do not save over the original file while testing. Microsoft recommends moving a workbook off a failing disk or network location before attempting recovery, because a bad storage path can defeat every repair option.

Recover Values Without Rewriting the Original

1. Create a blank workbook and go to File > Options > Formulas.

2. Under Calculation options, select Manual and confirm.

3. Open the damaged workbook without saving it.

4. Copy the cells you need into the blank workbook.

5. Paste values rather than formulas when the source sheet is unstable.

Tips: Manual calculation can let a workbook with heavy formulas open long enough to copy data. The goal here is to extract what you need, not to make the damaged file healthy again.

Office 365 We're Sorry but Excel Has Run into an Error That Is Preventing It from Working Correctly: Escalation

When the message appears in Microsoft 365 and both Excel and Word fail, treat it as a suite-level problem rather than an Excel-only setting.

1. Open Word if it will launch and check File > Account for the installed version and update channel.

2. Choose Update Options > Update Now, then install pending Windows updates, including printer and video drivers.

3. Open the Get Help app, search for Excel check, and run the troubleshooter on the affected PC.

4. Sign in at account.microsoft.com/services and confirm the Microsoft 365 or Office license shows as active; sign out and back in inside Office if it does not.

5. If both apps still crash, run the Microsoft 365 uninstall troubleshooter, restart, and reinstall Office with the same licensed account.

Tips: Microsoft notes that the uninstall troubleshooter cannot remove Office 2024 and needs Windows 10 or later. Check the license before uninstalling so you do not lose access to the subscription.

What to Record Before Asking for Support

1. Open Event Viewer, expand Windows Logs, and select Application.

2. Find the Error entry for EXCEL.EXE after a crash.

3. Copy the Faulting Module Name and the event time.

4. Note your Windows version, Office version, and whether Word opens normally.

5. State whether the crash happens at launch or only with one workbook.

Tips: The faulting module often points to a specific add-in or graphics component, which is more useful to support than a screenshot of the dialog alone.

When the XLSX File Is Deleted or Missing

None of the Excel repair options can bring back a workbook that was deleted, Shift-deleted, or emptied from the Recycle Bin. If the file is gone rather than damaged, a Windows data recovery tool, MyRecover, that recovers deleted Excel documents is a separate fallback. It scans the drive for deleted files; it does not repair Excel or a corrupted workbook in place, so use it only after the steps above have made the application stable.

1. Stop using the drive that held the workbook, since new saves can overwrite the deleted file.

2. Install MyRecover on a different drive from the one you are scanning, then launch it.

3. Tap Deleted Files Recovery, select the drive that held the .xlsx file, and hit Scan.

4. After Quick Scan, use Filter to narrow results by file type, path, or date, preview the workbook, select it, and press Recover. Switch to Deep Scan if the file is not listed.

5. Save the file to a different drive or partition from the original location, then open that copy in Excel.

Tips: MyRecover is a file-recovery utility, not an Office repair tool, and recovery is never guaranteed. Basic recovery is free; check Recycle Bin, File History, or OneDrive first, since those copies are simpler to restore.
MyRecover
  • Recover Deleted Files Easily with Simple Clicks
  • 1000+ File Formats Supported
  • Supports HDD, SSD, External Hard Drive, USB Drive, SD Card, etc.
  • Quickly Find Files Using File Types, Name, Size, etc.
  • Preview Files Before Recovering
  • Recover Unlimited Data

FAQs About We’re Sorry, But Excel Has Run Into An Error

Does clicking Repair Now delete unsaved work?
 
It closes Excel, so unsaved changes in that session can be lost. Save your work frequently and keep a copy of any workbook you are testing.
Is this an Excel problem or a damaged workbook?
 
Open a blank workbook. A crash at launch, or in Word as well, points to the Office installation; a crash on one file points to that workbook. Use Online Repair for the first case and Open and Repair for the second.
Why did the error start after a Microsoft 365 update?
 
An interrupted update can leave mixed Office components, and an update can also break an older COM add-in. Check File > Account > Update Options > Update Now, then test excel /safe before changing anything else.
Should I reinstall Office or repair it first?
 
Repair first. Microsoft's order is update, Online Repair, then uninstall and reinstall only if the crash survives a repair.
Can this error affect Word too?
 
Yes. When Word shows the same dialog, the cause is almost always the shared Office installation, not an Excel workbook.

Conclusion

The "We're sorry, but Excel has run into an error" message is a crash report, and Repair Now is only a first attempt. Decide whether Excel fails at launch or on one file; run Online Repair from Windows for the first case, use Open and Repair for the second, and keep a copy of the workbook before any operation that writes to it.

Delores · Editor
Delores is one of MyRecover's senior editors. She is knowledgeable in data recovery for phones and PCs as well as other solutions for data preservation. She enjoys assisting readers with issues related to disaster recovery and data corruption. She enjoys traveling, shopping, and other lovely pursuits.