Workbook_Open

  • Thread starter Thread starter Paul Ilacqua
  • Start date Start date
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
 
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.
 
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
 
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>)
 
Back
Top