workbook_open no longer occurs
steve - sometimes when debugging stuff you get to an
application.enableevents=false
& then jump out of it before you get to
application.enableevents=true
when i start having weirdness like this, i do up a quickie subroutine:
sub reset_everything()
application.enableevents=true
application.screenupdating=true
application.calculation=xlmanual
end sub
and whatever else you generally turn off during subs. see if that
helps.
:)
susan
On Jun 19, 1:09 pm, Steve the large <Steve the
wrote:
I have a file that contains code in the workbook open event.
I have been making periodic enhancements and am up to "version 18" of the
app I am creating. The workbook open event stopped running when I open the
file.
I stripped out the code and just put a 'msgbox "text here..."' call in the
event to just see if it fires off. It does not. All sheet_activate events
still work. All macros run, including workbook_beforeclose, but not
workbook_open.
The workbook_open event still operates as expected in other workbooks,
including "version 17", and un-related workbooks.
I created a brand new workbook, copied version 18's sheets, modules, forms,
names and properties over, and the workbook_open still doesnt work.
Searched the KB, and this is NOT a workbook.open call. I am just double
clicking on the file in windows explorer to start (and my shift key is not
stuck down).
Any suggestions would be appreciated greatly.
|