Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default Lost XLQuery reference

Everytime I open a workbook it complains about a missing reference to a
macro which was originally set to run when the workbook opened. I cannot
find this macro in the VB editor for the file or where it is referenced from
in order to kill it? Any ideas?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Lost XLQuery reference

The title of your posting was "Lost XLQuery Refference". this may not be a
macro. Go to on worksheet menu Files _ Propertenies - Contents. See if it
is a named range. If it is run this macro

Sub removename()

For Each myname In ThisWorkbook.Names
yesno = MsgBox("Remove? " & myname.Name & " Range is : " & myname,
vbYesNo)
If yesno = vbYes Then
myname.Delete
End If
Next myname

End Sub



"Mervyn Thomas" wrote:

Everytime I open a workbook it complains about a missing reference to a
macro which was originally set to run when the workbook opened. I cannot
find this macro in the VB editor for the file or where it is referenced from
in order to kill it? Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default Lost XLQuery reference

Joel - it did turn out to be a macro "XLquery.XLA which I found and
restored from a backup of Office 2000, hidden away in a library folder.
When I put this in Office 2007 where it was supposed to be the workbook
opens normally and there is now a password protected module called
Project(XKQuery.XLA) in the VBA editor. Havent a clue what the password is
and do not remember anything about it - it's dated from 2001! The strange
thing is that nearly all my workbooks hail from the same parent and they all
have this unknown module in them now!! Any idea how to dissociate these
workbooks from this module?


"Joel" wrote in message
...
The title of your posting was "Lost XLQuery Refference". this may not be
a
macro. Go to on worksheet menu Files _ Propertenies - Contents. See if
it
is a named range. If it is run this macro

Sub removename()

For Each myname In ThisWorkbook.Names
yesno = MsgBox("Remove? " & myname.Name & " Range is : " & myname,
vbYesNo)
If yesno = vbYes Then
myname.Delete
End If
Next myname

End Sub



"Mervyn Thomas" wrote:

Everytime I open a workbook it complains about a missing reference to a
macro which was originally set to run when the workbook opened. I
cannot
find this macro in the VB editor for the file or where it is referenced
from
in order to kill it? Any ideas?





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Lost XLQuery reference

Maybe its in the personal.xls file. In 2007 they moved the XLSTART (excel
startup directory) from the Programs File to the Document and Settings
directory.

Search on your hardrive for XKQuery.XLA

Here are two places you can get a macro to get the missing password. I used
the mcgimpsey site and got a password in under 5 minutes.

http://www.cpearson.com/excel/password.htm
http://www.mcgimpsey.com/excel/removepwords.html



"Mervyn Thomas" wrote:

Joel - it did turn out to be a macro "XLquery.XLA which I found and
restored from a backup of Office 2000, hidden away in a library folder.
When I put this in Office 2007 where it was supposed to be the workbook
opens normally and there is now a password protected module called
Project(XKQuery.XLA) in the VBA editor. Havent a clue what the password is
and do not remember anything about it - it's dated from 2001! The strange
thing is that nearly all my workbooks hail from the same parent and they all
have this unknown module in them now!! Any idea how to dissociate these
workbooks from this module?


"Joel" wrote in message
...
The title of your posting was "Lost XLQuery Refference". this may not be
a
macro. Go to on worksheet menu Files _ Propertenies - Contents. See if
it
is a named range. If it is run this macro

Sub removename()

For Each myname In ThisWorkbook.Names
yesno = MsgBox("Remove? " & myname.Name & " Range is : " & myname,
vbYesNo)
If yesno = vbYes Then
myname.Delete
End If
Next myname

End Sub



"Mervyn Thomas" wrote:

Everytime I open a workbook it complains about a missing reference to a
macro which was originally set to run when the workbook opened. I
cannot
find this macro in the VB editor for the file or where it is referenced
from
in order to kill it? Any ideas?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XLQUERY.XLA!Register.DClick Nightshade Excel Discussion (Misc queries) 0 April 25th 07 01:16 PM
How do I delete an XLQuery.xla? Barb Excel Discussion (Misc queries) 0 March 6th 07 03:52 PM
Lost "Relative Reference" button in Excel LL Excel Discussion (Misc queries) 2 December 14th 06 04:44 PM
xlquery.xla in Excel 2003 Martin Excel Discussion (Misc queries) 0 November 7th 05 03:46 PM
name reference got lost? William Excel Worksheet Functions 1 November 23rd 04 01:25 AM


All times are GMT +1. The time now is 05:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"