How do I cancel an XLQUERY?
Asked By Bar
13-Apr-07 09:16 AM
I am trying to open a file that was created by another user no longer with
the company. When I open the file I get the following message:
each time "[file name]worksheet name with in the file" is opened.
This comes up each time I open the file and I want to get rid of it. How do
I do that?
I’m assuming you get this error when you open the Excel file.
Asked By Richar
15-Apr-07 05:16 PM

I’m assuming you get this error when you open the Excel file.
There are two files. The Excel file and the Query file. The Query file
extension is .dqy.
The Query file is by default stored in a hidden file on the computer where
the Query was originally written. The path is:
C:\Documents and Settings\richard.brown\Application Data\Microsoft\Queries
In my case richard.brown above is my name and refers to my computer profile.
You would put your profile name there.
If the Excel file was emailed to you or otherwise copied to our computer
then you don’t have the Query file and therefore can’t cancel or otherwise
use the Query file.
Even if both files were put on your computer you still couldn’t as the path
is pointing to the original creators path.
If you still need the Query file then you must get it from its hiding place.
If on the other hand you just want to cancel the Query from running the only
way I would know how to do this is to create a new profile on your computer
and recreate the same path as the original Query and then create a Query with
the same name and then you can cancel the Query.
There must be a way to easily change the path but I don’t know how.
Good luck.
Richard
RichardThis is the MSQuery add-in from xl97.
Asked By Nick Hodge
16-Apr-07 02:24 AM
Richard
This is the MSQuery add-in from xl97. I would try first of all,if you have
a version of xl after 97 re-running install and doing a full NOT typical
install
If not, check here
http://support.microsoft.com/kb/173321
--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
nick_hodgeTAKETHISOUT@zen.co.ukANDTHIS
web: www.nickhodge.co.uk
blog: www.nickhodge.co.uk/blog/
FREE UK OFFICE USER GROUP MEETING, MS READING, 27th APRIL 2007
www.officeusergroup.co.uk
Excel Excel.Application not defined Hello, I am trying to instantiate Excel.Application using Dim oexcel As Excel.Application and it says that Excel.Applcation not defined i have added Microsoft Excel object library as Reference. If i use Din oexcel As Global.Excel.Applicatiopn then it works i dont know why wont it
Excel excel does not opens on IIS I have a simple c# application Excel.Application excelApp = new Excel.Application(); excelApp.Visible = true; string workbookPath = " / book.xls"; excelApp.Application.Workbooks.Open(workbookPath, Type.Missing, Type.Missing, Type.Missing, Type When I run it from VS development Server it open Excel file Ok, but when I put it in virtual directory it runs excel.exe process and shows nothing, no errors what can it
Excel Excel related when i opening excel application, excel with opening as default sheet2 page.whereas the default sheet1 be open.please suggest. You may have another instance of Excel open, which has already used - Jon - -- -- -- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http PeltierTech.com _ __ __ __ keywords: Excel, related description: when i opening excel application, excel with opening as default sheet2 page.whereas the default
Excel Excel wird nicht im Task-Manager gelöscht. Hallo, ich starte eine EXCEL-Application mit: Private xlApp As Excel.Application Private xlBook As Excel.Workbook Private xlChart As Excel.Chart Private xlSheet As Excel.Worksheet xlApp = New Excel.Application With xlApp xlBook = .Workbooks.Open(Filename: = con.AppPath & "Secure
Excel Excel Application Warinings and Errors Hi I am trying to treat an Excel warning through VBA. Can this be done? Excel Application errors or warnings do not seem to raise error codes Phil Most warnings can be suppressed by turning off alerts: Application.DisplayAlerts = False ' your code here Application.DisplayAlerts = True Cordially, Chip Pearson Microsoft Most Valuable Professional, Excel, 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com Hi is totally doable with VBA errors, but can I trap application warings / alerts through Event handling for example? Thanks Phil There
Excel Activate Excel application event Is there any way to be notified when the Excel application is activated, after some other application was the active application? I've enabled the Excel application-level events, but none of them fire when the Excel application is activated. Is there a Windows API function I
Excel Excel.Application error Hi, My application running on production server is throwing this exception: Retrieving the the following error:80040154. while executing this code in C#: Excel.Application excelApp = new Excel.ApplicationClass(); It works ok in my workstation, I have Microsoft running as Administrator. But the production server has no MS Excel 2003 installed. So my question is is Excel 2003 or 2007 must be installed to run the code Can I just copy the dll Microsoft.Office.Interop.Excel.dll on the server? what else needs to be configured
Excel How to start excel in "safe mode" programmatically Is there a way to start excel in "safe mode" programmatically. I am creating an excel application instance as mentioned below:- Excel Application excelApp = new Excel.Application (); I do not want to load add-ins and it do not want to affect any other instances of the excel application which may be running add-ins. Please advise. Thanks