Workbook SheetDeactivate Event


Syntax
Private Sub Workbook_SheetDeactivate(ByVal Sh As Object)
Enter Code
End Sub

This event will run after any of the worksheets within this specific workbook become deactivated. This event will occur after the Worksheet SheetDeactivate Event for the specific worksheet that is being deactivated.

Required Parameters
Sh
The sh parameter returns the worksheet that was deactivated by the user.  This parameter returns a Worksheet object to allow users to manipulate the events, methods and properties.