How to Completely Disable ‘Get Data’ (Power Query) Refresh Prompts on File Open in Microsoft Excel

Microsoft Excel includes an immensely powerful data extraction tool called Power Query (accessible via the “Get Data” tab). This feature allows a spreadsheet to connect to an external SQL database, a live web API, or another Excel file, and pull in raw data automatically. By default, whenever you open a workbook that contains one of these external data connections, Excel throws a massive yellow security warning bar across the top of the screen: “SECURITY WARNING External Data Connections have been disabled.”

While this warning protects you from malicious spreadsheets secretly pulling tracking data from remote servers, it is an absolute nightmare for corporate dashboards. If you have built an internal financial dashboard that connects to your company’s secure SQL server, you want the data to refresh instantly and invisibly the moment the CEO opens the file. Having to manually click “Enable Content” every single time completely breaks the automated experience. To guarantee that your trusted dashboards open cleanly and refresh their Power Queries silently in the background, you must completely disable the external data prompt.

Disabling Data Prompts via the Trust Center

You can force Excel to implicitly trust all external data connections globally by modifying the core Trust Center settings.

  1. Open the Microsoft Excel desktop application.
  2. Bypass the Start Screen by clicking Blank workbook to enter the main editing interface.
  3. Look at the main menu ribbon at the top of the screen and click on File (in the top-left corner).
  4. Scroll to the absolute bottom of the left-hand blue sidebar and click on Options.
  5. A new Options window will appear. In the left-hand menu, click on Trust Center.
  6. Click the large button labelled Trust Center Settings….
  7. In the new window that appears, click on External Content in the left-hand sidebar.
  8. Locate the section labelled “Security settings for Data Connections.”
  9. Change the radio button selection to: Enable all Data Connections (not recommended).
  10. Click OK twice to save your changes and exit both options windows.

Extreme Warning: You have just instructed Excel to instantly execute any Power Query or SQL connection embedded in any workbook you open. If you download a malicious spreadsheet from a phishing email, it will silently pull or push data without warning you. You should only enable this setting on dedicated corporate workstations that exclusively handle internal, highly trusted dashboard files.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.