Please help - run macro when switching sheets
Solved/Closed
Related:
- Please help - run macro when switching sheets
- Sheets right to left - Guide
- Spell number in excel without macro - Guide
- Excel macro to create new sheet based on value in cells - Guide
- Mecer laptop not switching on - Monitor Forum
- Run macro when cell value changes by formula ✓ - Excel Forum
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