Please help - run macro when switching sheets
Solved/Closed
Related:
- Please help - run macro when switching sheets
- Sheet right to left google sheets - Guide
- Mecer laptop not switching on - CPU & Desktop Forum
- Run macro when opening excel - Guide
- Run macro when cell value changes by formula ✓ - Excel Forum
- Spell number in excel without macro - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 7, 2010 at 10:51 AM
Jun 7, 2010 at 10:51 AM
You have to use either of the two routines in the sheet
This you would be using if you want macro to be fired as sheet is deactivated
Private Sub Worksheet_Deactivate()
End Sub
This you would be using if you want macro to be fired as sheet is activated
Private Sub Worksheet_Activate()
End Sub
This you would be using if you want macro to be fired as sheet is deactivated
Private Sub Worksheet_Deactivate()
End Sub
This you would be using if you want macro to be fired as sheet is activated
Private Sub Worksheet_Activate()
End Sub
Jun 7, 2010 at 03:33 PM