where does unprotect/protect go, and what is the correct syntax, when using a toggle button?
is the same syntax used for a command button?
Code:
Private Sub ToggleButton1_Click()
If ToggleButton1.Value = False Then
Range("13:35").EntireRow.Hidden = True
ToggleButton1.Caption = "Display Summary"
Else
Range("13:35").EntireRow.Hidden = False
ToggleButton1.Caption = "Hide Summary"
End If
End Sub
is the same syntax used for a command button?