Workbook_Open

P

Paul Ilacqua

How do I cancel a Workbook_Open event in Excel 97. Holding the shift key
does not do it. Please help.

Paul
 
G

GB

You can turn on Macro virus protection in Tools .... Options

This will stop your macro working and you can then start up VBE and fix
whatever is wrong with it.
 
P

Paul Ilacqua

It's a simple call to a routine to pull in some data, but at the end it
closes EXCEL. I just want to be able to open the Workbook without running
the Worksheet_OPEN event. I know the Shift key should work, what are the
reasons as to why it would not? Thanks
Paul
 
D

Dave Peterson

I'm surprised the shift-key didn't work. (I try again and again and....)

But you could always go to the VBE (alt-F11),
then ctrl-G (to see the immediate window)
and type this
application.enableevents = false

then back to excel and open you workbook.

Remember to enableevents when you're done/ready.

(I'd still try the shift key one more time <vbg>)
 

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