I would like to prevent the user from leaving Sheet1 if certain conditions are not met.
I'm using the Worksheet_Deactivate event in the Sheet1 module. However, when the user attempts to leave Sheet1 by selecting Sheet2, the Sheet2 Worksheet_Activate event runs even though I have Application.EnableEvents set to False on the Sheet1 Worksheet_Deactivate event.
I hope that all makes sense. I've been trying to solve this for hours. Any help is GREATLY appreciated!!!
Jeff
I'm using the Worksheet_Deactivate event in the Sheet1 module. However, when the user attempts to leave Sheet1 by selecting Sheet2, the Sheet2 Worksheet_Activate event runs even though I have Application.EnableEvents set to False on the Sheet1 Worksheet_Deactivate event.
I hope that all makes sense. I've been trying to solve this for hours. Any help is GREATLY appreciated!!!
Jeff