open a query automatically

B

BryanJ

I have received an XL spreadsheet from a colleague. When I open it I get the
following message:
Cannot find 'C:\...'!Register.DClick, which has been assigned to run each
time [filename.xls]Sheet1 is opened.
I have tried everything I can think of to find where this is set without
success.
 
D

Dav

Possibly if you go into thr Visual Basic editor Alt F11, and in the left
hand pane go down to where it says ThisWorkbook, double click on this.
Is there an event in the righ window under workbook open? Here or in a
macro that is called from here, there could well be reference to the
file that you can not find

Regards

Dav
 
B

BryanJ

I checked this out but there is no code or macro here. No problem - I have
copied the data into a new spreadsheet and this opens fine without an error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top