I would like to write a if statment within the worksheet_deactivate event that only allows the user to deactivate the worksheet when something is true.
If the above is not the case, then do not allow the user to deactivate the worksheet.Please Login or Register to view this content.
EDIT: and also display a msgbox as to why they are unable to deactivate the worksheet.
Bookmarks