Private Sub Check1_Click()
If Check1.Value = 0 Then
Command1.Visible = True
Command2.Visible = False
ElseIf Check1.Value = 1 Then
Command1.Visible = False
Command2.Visible = True
End If
End Sub
Private Sub CheckBox1_Change()
If CheckBox1.Value = 0 Then
Command1.Visible = True
Command2.Visible = False
ElseIf CheckBox1.Value = -1 Then
Command1.Visible = False
Command2.Visible = True
End If
End Sub
Private Sub Check1_Click()
Command1.Visible = Check1.Value
Command2.Visible = Check1.Value - 1
End Sub