J
Jerry Natowitz
I'm trying to write Workbook_Activate and Workbook_Deactivate procedures
that will check for particular data and msgbox a warning.
First problem is if there is another Workbook open, the Activate or
Deactivate routine is called whenever focus changes between workbooks.
I haven't tried Workbook_Open, but since there isn't a Workbook_Close,
that would half solve my problem at best.
I've tried using static vars in the routines, but they seem to get
reinitialized to zero whenever the Workbook is activated.
Any suggestions?
that will check for particular data and msgbox a warning.
First problem is if there is another Workbook open, the Activate or
Deactivate routine is called whenever focus changes between workbooks.
I haven't tried Workbook_Open, but since there isn't a Workbook_Close,
that would half solve my problem at best.
I've tried using static vars in the routines, but they seem to get
reinitialized to zero whenever the Workbook is activated.
Any suggestions?