Power Query Problems

How to Handle Excel Security Warnings for Power Query Files on Mac

Muhammad TalhaMuhammad Talha Nov 2, 2026 869 views

Question details

The user is trying to permanently disable security warnings that appear when opening workbooks containing Power Query or data connections in Excel for Mac.

How to Handle Excel Security Warnings for Power Query Files on Mac
Product
Microsoft Excel for Mac
Device & OS
macOS
Scenario
Opening a workbook containing Power Query or data connections, even when the query data source is a table located within the exact same workbook.
Observed behavior
Excel continuously displays a security warning about active content or external data, and lacks a built-in 'Trusted Locations' option to permanently disable the prompt for the file.
Before you start

Before attempting to bypass or dismiss any security warnings, verify that the workbook and its data connections come from a trusted source to prevent running potentially malicious active content.

Solution 1Recommended

Manually Enable Content for Trusted Workbooks

Since Excel for Mac lacks a permanent feature to disable these warnings, you must manually review and enable the connections each time you open the file.

The Message Bar displays security alerts when a file contains potentially unsafe active content, such as macros, ActiveX controls, or data connections. Unfortunately, unlike Excel for Windows, Excel for Mac does not currently feature a 'Trusted Locations' or 'Trusted Documents' setting to permanently suppress these warnings.

1
Open the workbook

Launch Excel for Mac and open the workbook containing the Power Query or data connections.

2
Locate the Security Warning

Look for the yellow Message Bar at the top of the spreadsheet indicating that active content or external data connections have been disabled.

3
Enable the content

Click the 'Enable Content' or 'Enable Data Connections' button on the Message Bar to allow the Power Query to run for your current session.

Manually Enable Content for Trusted Workbooks
Platform Limitation: Even if your Power Query only references a table within the same workbook, Excel for Mac still treats the query architecture as an external data connection, triggering the security prompt.
Free Microsoft Office alternative

Try WPS Office for a Seamless Spreadsheet Experience on Mac

Tired of encountering platform-specific limitations and persistent security warnings in Excel for Mac? WPS Office offers a lightweight, highly compatible alternative for macOS users. Enjoy a familiar interface, robust data handling, and seamless Microsoft Office format compatibility without the hassle.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the macOS version.
  2. 2. Install the application: Open the downloaded installer and follow the on-screen instructions to set up WPS Office on your Mac.
  3. 3. Open your spreadsheets: Launch WPS Spreadsheet and easily open your existing .xlsx files to continue your work without unnecessary interruptions.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Free, lightweight, and optimized for macOS performance.Familiar user interface makes transitioning effortless.Smooth handling of local data and tables without persistent false-positive security prompts.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel for Mac warn about external data when my Power Query uses a table in the same workbook?

Excel for Mac evaluates the Power Query engine's data extraction process as an active external connection, regardless of whether the source table resides locally within the exact same file. This triggers the standard security alert for data connections.

Is there a 'Trusted Locations' setting in Excel for Mac?

No. Unlike the Windows version, Excel for Mac does not currently feature a 'Trusted Locations' or 'Trusted Documents' setting that allows users to permanently bypass security warnings for specific files or folders.

Are data connection security warnings dangerous?

The warnings themselves are a safety mechanism. Data connections and macros can potentially be used to run malicious scripts or extract private data. You should only click 'Enable Content' if you are absolutely certain the workbook and its author are trustworthy.