Fix Excel Crashing When Opening Power Query in a Specific Workbook
Question details
The user needs to resolve an issue where Excel crashes immediately when opening the Queries and Connections pane or Power Query preview for one specific workbook.
- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Attempting to edit, view, or refresh data connections within a specific Excel workbook containing Power Query operations.
- Observed behavior
- Excel crashes entirely as soon as Data > Queries and Connections is selected. Reinstalling Office, restarting the computer, and reverting to older versions of the file do not resolve the issue.
Before modifying security settings or testing in Safe Mode, ensure you create a backup copy of your affected workbook and close any other running Microsoft Office applications.
Temporarily Disable Third-Party Antivirus Software
Third-party internet security suites can mistakenly flag and block Power Query's background network or file operations, causing Excel to crash instantly.
Power Query frequently executes background processes to fetch and transform data. Overly aggressive antivirus software or firewalls may interpret these automated data queries as a security threat, forcing the application to terminate.
Ensure Microsoft Excel is completely closed. Check the Task Manager (Ctrl + Shift + Esc) to end any lingering Excel background processes.
Find your third-party antivirus or Internet security software icon in the Windows system tray (bottom-right corner of your taskbar).
Right-click the antivirus icon and select 'Disable', 'Pause protection', or 'Turn off active shield'. Choose a short time frame, such as 15 minutes.
Open the affected Excel workbook and navigate to the Data tab. Click 'Queries and Connections' to verify if the pane opens without crashing.

Launch Excel in Safe Mode
Safe Mode runs Excel without any custom add-ins or extensions, helping to identify if a third-party plugin is conflicting with Power Query.
Recreate the Query in a New Workbook
If the problem is strictly isolated to a single file and security settings are not the cause, the internal query architecture or file structure may be corrupted.
Try WPS Office for Stable Spreadsheet Management
If Excel frequently crashes or struggles with file corruption, consider using WPS Office. It provides a lightweight, highly stable environment for handling complex spreadsheets and data analysis, completely free of charge.
- 1. Download WPS Office: Visit the official WPS website to download and install the free office suite.
- 2. Open WPS Spreadsheet: Launch the WPS Spreadsheet application from your desktop or start menu.
- 3. Load your workbook: Click File > Open, locate your existing Excel workbook, and continue your work in a stable environment.

Frequently Asked Questions
Why does Excel crash only on one specific workbook?
A workbook-specific crash usually indicates internal file corruption, a damaged Power Query connection, or an overly complex data model that strains available memory. It can also occur if the specific data sources within that workbook trigger security protocols in your antivirus software.
How do I clear the Power Query cache to fix crashes?
To clear the cache safely without triggering a crash, open a blank Excel workbook. Go to the Data tab, select 'Get Data', and click 'Query Options'. Under the Global section, choose 'Data Load' and click 'Clear Cache'. This removes temporary data that might be causing instability.
Does saving my Excel file in a different format fix Power Query issues?
Saving a file as a Macro-Enabled Workbook (.xlsm) or a Binary Workbook (.xlsb) can improve general performance and reduce file size. However, if the internal Power Query logic or connection string is corrupted, simply changing the file extension will not prevent Excel from crashing.
Can third-party add-ins cause Queries and Connections to crash?
Yes. COM add-ins and other Excel extensions can conflict with Power Query's execution. Running Excel in Safe Mode allows you to determine whether an active add-in is the root cause of the crash by temporarily disabling all extensions.




