Office Apps Crashing

Troubleshoot Excel Crashes When Opening Files or Changing Links

Olivia MillerOlivia Miller Nov 22, 2026 868 views

Question details

The user needs to troubleshoot Excel hangs or crashes when opening workbooks or changing workbook links.

Troubleshoot Excel Crashes When Opening Files or Changing 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.
Before you start

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.

Solution 1Recommended

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.

1
Open Excel in Safe Mode

Press Windows+R, enter excel /safe, and select OK. Try opening the affected workbooks or changing their links.

2
Test COM add-ins

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.

3
Check Excel startup files

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.

4
Check the XLSTART folder

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.

Test Excel in Safe Mode and check add-ins and startup files
Keep startup files available: Moving Excel settings or startup files can temporarily change customizations or prevent startup workbooks from loading. Keep the moved files so you can restore them.
Free Microsoft Office alternative

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.

Open and work with spreadsheet files while troubleshooting ExcelCompatible with common Microsoft Excel formats, including XLS and XLSXFamiliar spreadsheet interface for an easier move from OfficeFree and lightweight suite for everyday document tasks
microsoft office alternative - wps office

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.