Option Explicit
' To Activate right click on tab - run the following
Private Sub Worksheet_Activate()
Application.CommandBars("Ply").Enabled = False
End Sub
' To Deactivate right click on tab - run the following code
Private Sub Worksheet_Deactivate()
Application.CommandBars("Ply").Enabled = True
End Sub