Thread: worksheet
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
NicoB NicoB is offline
external usenet poster
 
Posts: 8
Default worksheet

You may use the following event-functions of the 'ThisWorkbook' module
Private Sub Workbook_SheetActivate(ByVal Sh As Object
'manage your checkbox as you wan
'Sh is the new active worksheet
End Sub
Private Sub Workbook_SheetDeactivate(ByVal Sh As Object
'manage your checkbox as you wan
'Sh is the new active worksheet
End Su

or the event-functions of the worksheet module
Private Sub Worksheet_Activate(
'manage your checkbox as you wan
End Su
Private Sub Worksheet_Deactivate(
'manage your checkbox as you wan
End Su