Fix Excel Crashes When Opening Workbooks with External Data Connections
Question details
Excel crashes during startup when a COM add-in attempts to connect to an external data source and refresh the data.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Opening workbooks that contain COM add-ins configured to refresh external data connections upon loading.
- Observed behavior
- Excel crashes immediately or during the workbook loading sequence due to timing conflicts or Office build compatibility issues.
Before making changes to add-in logic or rolling back Office versions, ensure you have saved all open workbooks and close any running instances of Excel.
Modify COM Add-in Load Timing
Adjust the COM add-in so that it connects to external data only after the workbook has completely loaded to prevent timing conflicts.
This solution is primarily for users who develop or maintain the COM add-in. Delaying the connection prevents Excel from crashing due to overlapping startup and data refresh processes.
Update the COM add-in code to defer external data connections until the 'WorkbookOpen' event is fully completed.
Add robust error handling and detailed logging around the connection and data refresh operations to capture fail points.
Change Microsoft Office Update Channels
Switch to a newer build via the Office Insider channel to get the latest fixes, or roll back to a stable deferred channel if it is a confirmed regression.
Collect and Report Crash Data
Gather crash logs to send to the add-in developer or Microsoft Support for further investigation.
Try WPS Office for Stable Spreadsheet Management
If Microsoft Excel continues to crash due to COM add-in conflicts or update regressions, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet environment that handles complex data without the heavy overhead of legacy COM add-ins.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open Your Workbook: Launch WPS Spreadsheet and open your existing .xlsx file seamlessly.
- 3. Manage Data Stably: Enjoy a stable environment for analyzing your data without startup crashes.

Frequently Asked Questions
Why does Excel crash specifically when opening workbooks with external data?
Crashes usually occur because of a timing conflict where the COM add-in tries to refresh data before Excel has completely finished loading the workbook into memory, or due to a bug in a specific Office update build.
How can I disable a problematic COM add-in in Excel?
Open Excel in Safe Mode by holding the Ctrl key while launching it. Then go to File > Options > Add-ins, select COM Add-ins from the Manage drop-down, click Go, and uncheck the suspected add-in.
Will rolling back my Office version fix the COM add-in crash?
Yes, if the crash is caused by a recent Office build regression (such as version 16.0.19231.20216), rolling back to a previous stable deferred channel can temporarily resolve the issue until Microsoft releases an official patch.




