Is there a code to make all my Toggle Buttons turn Red is their value is False and Green if their value is True. Right now Im having to code every Toggle Button with:
There has got to be an easier way.
Code:
Private Sub zCX_Click()
If zCX.Value = True Then
zCX.BackColor = RGB(0, 255, 0)
Else
zCX.Value = False
zCX.BackColor = RGB(255, 0, 0)
End If
End Sub