Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


When you attempt to open a .IQY, .OQY, .RQY or .DQY file using Excel, you will get an error message stating that the file's data connection has been disabled because it is coming from an untrusted location.

We have disabled this file's data connection because it is coming from an untrusted location. If you trust the file's source, please move it to a secure folder and open it again.  

First Solution 

  1. Click OK, then close the file.

  2. Open File Explorer (Windows key + E), select the file, then right-click it and select Properties.

  3. At the bottom of the Properties dialog, there will be the following message: Security: The file came from another computer and might be blocked to help protect this computer. Check Unlock, then select Apply.

Second Solution

  1. Click OK, then close the file.

  2. Open File Explorer (Windows key + E), then move the file to a designated trusted location.

Third Solution

If none of the previous solutions work, it's possible that your Trust Center settings are blocking this kind of file. 

  1. Click OK, then go to File > Options > Trust Center > Trust Center Settings > File Block Settings.

  2. Scroll down to Microsoft Office Query Files in the File Type section, uncheck Open, and then click OK.


If none of the above solutions work, please contact your system administrator. 

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!