Troubleshoot Excel Crashes When Opening Files or Changing Links
Question details
The user needs to troubleshoot Excel hangs or crashes when opening workbooks or changing workbook links.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Opening multiple workbooks or changing links between workbooks.
- Observed behavior
- Excel may hang or crash, and Windows may report an AppHangXProcB1 event involving a waiting dllhost.exe process.
Note whether the problem occurs with one workbook or several, and whether it happens when opening files or changing links. Test after each change so you can identify which step resolves the issue.
Test Excel in Safe Mode and check add-ins and startup files
Use Safe Mode to check whether an add-in or a file loaded at startup is contributing to the crash.
Press Windows+R, enter excel /safe, and select OK. Try opening the affected workbooks or changing their links.
If the issue does not occur in Safe Mode, open Excel normally and go to File > Options > Add-ins. Select COM Add-ins in the Manage list, click Go, and disable add-ins one at a time, restarting and testing Excel after each change.
Press Windows+R, enter %appdata%\Microsoft\Excel, and move its contents to a separate folder temporarily. Restart Excel and test again; restore the contents if this does not help.
In Excel, press Alt+F11, then Ctrl+G. Enter ?Application.StartupPath in the Immediate window and press Enter. Open the displayed folder in File Explorer, temporarily move its files elsewhere, and restart Excel.

Repair the Microsoft Office installation
Repair Office if Excel continues to hang or crash after the Safe Mode checks.
Check the Windows profile, printer, graphics, and startup services
Use these checks to identify a profile-specific issue or a conflict outside Excel.
Open Excel Workbooks with WPS Spreadsheets
WPS Office is a free, lightweight Office alternative with a familiar interface. Open compatible Excel workbooks in WPS Spreadsheets for an easy transition, although it does not repair Microsoft Excel itself.

Frequently Asked Questions
How do I start Excel in Safe Mode?
Press Windows+R, type excel /safe, and select OK. Then repeat the action that caused Excel to hang or crash.
What should I do if Excel works in Safe Mode?
In Excel, go to File > Options > Add-ins, choose COM Add-ins under Manage, and click Go. Disable add-ins one at a time and restart Excel after each change.
Why should I try another Windows account?
A successful test in another Windows profile can indicate that settings or files in the original profile are contributing to the issue. Sign in to the other account and repeat the same Excel task.
Where can I find the Excel XLSTART folder?
In Excel, press Alt+F11, then Ctrl+G. Type ?Application.StartupPath in the Immediate window and press Enter to display the folder path.
Can WPS Office fix an Excel installation crash?
No. Repair Microsoft Office through Windows Settings > Apps > Installed apps or Apps & features. WPS Spreadsheets is an alternative for opening compatible Excel files, but it does not repair Excel.




