Cannot find XLQUERY.XLA meessage upon file open

u742884

Board Regular
Joined
Jun 23, 2002
Messages
126
I am getting the following message when I open my file:

Cannot find XLQUERY.XLA!Register.DClick,which has been assigned to run each time [filename]worksheet name is opened. Continuing could cause errors. Cancel opening [filename]worksheet?

Note: "[filename]worksheet name" show the actual filename and worksheet name.

While I do have a macro set to run on file open, it does not execute any queries. Any ideas?
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi,

I have the same problem as below, and as Oaktree inferred throuh his link, I ran the following suggested code:

Sub DeleteQueryDefinedNames()
Dim n As Name
For Each n In ActiveWorkbook.Names
If n.Visible = False And InStr(1, n.Name, "QUERY", _
vbTextCompare) > 0 And InStr(1, n.Name, _
"Query_from", vbTextCompare) = 0 Then
n.Delete
End If
Next
End Sub

This has always worked for me in the past, as this problem does crop up now and again, however in the latest example it does not work. When saving the file after running the code I get the message:

'C:\Program Files\Microsoft Office\OFFICE11\LIBRARY|MSQuery|XLquery.xla' could not be found.

Would the above code not remove the need to link to this file? All sheets are unprotected and unhidden

Thanks in advance
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,861
Members
449,052
Latest member
Fuddy_Duddy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top