Power Query Problems

Fix Excel Crashing When Opening Power Query in a Specific Workbook

Phi Hung VoPhi Hung Vo Nov 2, 2026 869 views

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 you start

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.

Solution 1Recommended

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.

1
Close Excel

Ensure Microsoft Excel is completely closed. Check the Task Manager (Ctrl + Shift + Esc) to end any lingering Excel background processes.

2
Locate security software

Find your third-party antivirus or Internet security software icon in the Windows system tray (bottom-right corner of your taskbar).

3
Disable protection temporarily

Right-click the antivirus icon and select 'Disable', 'Pause protection', or 'Turn off active shield'. Choose a short time frame, such as 15 minutes.

4
Test the workbook

Open the affected Excel workbook and navigate to the Data tab. Click 'Queries and Connections' to verify if the pane opens without crashing.

Temporarily Disable Third-Party Antivirus Software
Whitelist Excel: If disabling the antivirus resolves the crash, add Microsoft Excel (excel.exe) and Power Query to your security software's whitelist or exceptions list to prevent future crashes without compromising your computer's safety.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website to download and install the free office suite.
  2. 2. Open WPS Spreadsheet: Launch the WPS Spreadsheet application from your desktop or start menu.
  3. 3. Load your workbook: Click File > Open, locate your existing Excel workbook, and continue your work in a stable environment.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .xlsm, .csv).Lightweight architecture ensures faster loading times and reduces the risk of software freezing or crashing.Familiar user interface allows for immediate productivity without a steep learning curve.Seamless migration means you can open your existing workbooks directly with zero data loss.
microsoft office alternative - wps office

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.