The crash error “Excel has stopped working” or “Microsoft Excel has encountered a problem and needs to close” during startup means the program failed during its launch sequence. Because the application crashes before displaying your spreadsheet, the failure is almost always triggered by a corrupt add-in, an infected or broken startup file (Personal.xlsb), an unstable default printer driver, or damaged registry entries.
Quick Answer
Press
Win + R, typeexcel /safe, and press Enter to launch Excel in Safe Mode. If Excel opens cleanly, the crash is caused by an add-in or startup file. Go to File > Options > Add-ins, set the dropdown to COM Add-ins, click Go, uncheck all items, and restart Excel normally.
Step 1: Launch in Safe Mode to Isolate the Startup Environment
Safe Mode bypasses all third-party add-ins, toolbar customizations, and files stored in startup folders. It is the primary diagnostic fork for startup failures:
- Press the
Win + Rkeys on your keyboard to open the Run dialog box. - Type
excel /safeand click OK (or hold down theCtrlkey while clicking the Excel shortcut). - Look at the title bar at the top of the window. It should read Microsoft Excel (Safe Mode).
Interpreting the Result:
- If Excel opens normally in Safe Mode: The core application files are healthy. The crash is caused by a third-party add-in, a file in an Excel startup folder (
XLSTART), or a corrupted custom template. Proceed to Step 2. - If Excel crashes in Safe Mode: The issue exists outside the application layer. The cause is likely a corrupted Office installation, a faulty graphics driver, an incompatible Windows update, or a broken default printer driver. Skip to Step 5.
Step 2: Systematically Disable Add-ins
Add-ins are the leading cause of startup crashes. Automated toolbars from PDF creators, antivirus scanners, and enterprise database connectors inject dynamic link libraries (.dll files) directly into the Excel launch process.
- In the Safe Mode window, navigate to File > Options > Add-ins.
- At the bottom of the window, locate the Manage drop-down menu.
- Select COM Add-ins and click Go….
- Uncheck every active add-in. Do not delete them yet—simply clear the checkboxes to prevent them from executing at launch.
- Click OK, close Excel, and launch it normally.
If Excel opens successfully, re-enable the add-ins one at a time, restarting Excel after each one. When the crash returns, the last add-in you checked is the corrupt component. For an in-depth procedure on clearing stubborn or unremovable COM extensions, see COM Add-in Conflicts: How to identify which add-in is crashing Excel.
If the crash persists with all COM add-ins disabled, return to File > Options > Add-ins, change the Manage dropdown to Excel Add-ins, click Go…, and uncheck all standard add-ins (such as Solver or Analysis ToolPak).
Step 3: Clear the XLSTART Directories and Personal Macro Workbook
When Excel starts, it automatically executes every workbook stored in its startup folders. If your hidden macro workbook (Personal.xlsb) or an automated template has corrupted XML or a broken workbook-open macro, Excel crashes before rendering the workspace.
- Close Excel completely.
- Press
Win + R, paste the following path, and press Enter:%appdata%\Microsoft\Excel\XLSTART - If you see any files here (including
PERSONAL.XLSB), select them, cut them, and paste them into a temporary folder on your Desktop. - Check the secondary startup folder located at:
C:\Program Files\Microsoft Office\root\Office16\XLSTART(orProgram Files (x86)depending on your Office version). Move any files found there to your desktop as well. - Launch Excel normally.
If Excel starts cleanly, one of the files you moved is damaged. You can troubleshoot the macro workbook using “Personal.xlsb” Errors: Troubleshooting the hidden startup workbook.
Step 4: Change or Reinstall the Default Printer Driver
When loading the layout engine, Excel queries the Windows default printer driver to calculate page breaks, margins, and font metrics. If the network printer is unreachable or its local driver has corrupted memory pointers, the startup query causes Excel to terminate abruptly.
- Open Windows Settings (
Win + I) and go to Bluetooth & devices > Printers & scanners. - Turn off Let Windows manage my default printer.
- Select Microsoft Print to PDF or OneNote (Desktop) from the list and click Set as default.
- Launch Excel normally.
If Excel launches without crashing, your previous default printer driver is defective. Remove the problematic printer and reinstall the latest manufacturer-signed driver from the vendor’s support portal.
Step 5: Execute an Office Repair (When Safe Mode Fails)
If Excel crashes even when launched using excel /safe, the core binaries or shared Windows runtime libraries are damaged.
- Right-click the Windows Start button and select Installed apps (or Apps and features).
- Scroll down to Microsoft 365 Apps (or your specific Office edition), click the three-dot menu, and choose Modify.
- Select Quick Repair first. This inspects local core files and replaces corrupted binaries without needing an internet connection. Click Repair.
- If the crash persists after a Quick Repair, return to the menu and select Online Repair. This performs a comprehensive reinstallation of the application components while preserving your account settings and licenses.
If system-level freeze states occur during startup or file access, check for wider environmental deadlocks using “Excel is Not Responding”: Top 10 causes and how to unfreeze.