Syntax
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Enter
Code
End Sub
This event will run every time any worksheet
within the specific workbook is activated. This event will occur after the
Worksheet SheetActivate Event for the worksheet that is activated.
Required Parameters
Sh
The sh parameter returns the worksheet that
was activated by the user. This
parameter returns a Worksheet object to allow users to manipulate the events,
methods and properties.