I have about 30 buttons that I am trying to add a line of code that will change the color of the button when pressed and depressed.
Any ideas?
Thank you Excel Experts
Any ideas?
Code:
Private Sub ToggleButtonAHAJ_Click()
With Columns("AH:AJ")
If .EntireColumn.Hidden = True Then
.EntireColumn.Hidden = False
Else
.EntireColumn.Hidden = True
End If
End With
End Sub
Thank you Excel Experts