How to stop Excel from crashing

Joni 0 Reputation points
2026-05-20T22:19:04.18+00:00

I am using the Office 19 version of Excel. Nearly every time I use the program, a pop-up window states that Excel has encountered a problem and must close. There are 3 buttons on the pop-up: "repair", "help", and "close". When I press the "repair" button, nothing happens as far as I can tell, and the program closes after a couple of seconds. The "help" button brought me here. If anyone has encountered this, and/or knows what is causing it and how to fix it, I would appreciate the help.

Thank you,

Microsoft 365 and Office | Excel | Other | Windows

2 answers

Sort by: Most helpful
  1. Norah-L 7,325 Reputation points Microsoft External Staff Moderator
    2026-05-21T02:49:05.9933333+00:00

    Good day Joni!

    From what you shared, I understand Excel 2019 on your Windows keeps showing a message saying it has encountered a problem and must close, and the built-in Repair button in that pop-up does not seem to do anything before Excel closes.

    This type of issue can happen for several reasons, such as a corrupted Office installation, outdated Office/Windows components, a conflicting Excel add-in, or problems with Excel’s startup or custom settings.

    In addition to the Online Repair method already suggested, you may also try the following:

    1. Run Excel in safe mode

    Press Windows + R to open Run dialog box and type excel /safe > press OK to run.

    If Excel opens normally, the problem might be due to an add-in.

    Then and go to File > Options > Add-ins > select Excel Add-ins > Go > uncheck all listed add-ins and click OK

    1. Repair Excel from Control Panel (this has the same effect as the method suggested by AI, but works across most Windows versions):
    • Close all Office apps, including Excel.
    • Open Control Panel > Programs > Programs and Features.
    • Locate Microsoft Office in the list.
    • Right‑select it and choose Change (or Repair, depending on your version).
    • Run Quick Repair first. If the issue persists, proceed with Online Repair.
    • Follow the on-screen instructions, then restart your PC.

    If the issue persists, consider uninstalling Office from Control Panel > Programs and Features, restarting your PC, and then downloading and reinstalling Office from your official Microsoft account.

    Hope this helps. Please let me know how it goes!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    1 person found this answer helpful.

  2. AI answer

    2026-05-20T22:19:24.08+00:00

    Use a full Online Repair of Office instead of the built-in “Repair” button in the Excel error dialog. The in-app “Repair” behaves like a Quick Repair and often does not fix recurring crashes.

    Follow these steps:

    1. Close all Office apps (Excel, Word, Outlook, etc.).
    2. Open Windows Settings.
    3. Go to Apps → Installed apps.
    4. Find Microsoft 365 or Office in the list.
    5. Select the entry (for example, via the three dots) and choose Modify.
    6. Select Online Repair (not Quick Repair) and confirm.
    7. Let the repair complete; it can take 15–30 minutes. Do not cancel it.
    8. Restart the PC after the repair finishes.
    9. Open Excel first and verify whether it runs without the crash dialog.

    If Excel still crashes after an Online Repair, install the latest Office updates and then repeat the Online Repair once more.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.