Meine bisheriger VBA Code:
Private Sub CheckBox_KW1_Click()
If CheckBox_KW1.Value = True Then
CommandButton_KW1.BackColor = RGB(255, 255, 153)
Else
CheckBox_KW1.Enabled = True
CommandButton_KW1.BackColor = &H8000000F
End If
End Sub
Private Sub CheckBox_KW1_Click()
If CheckBox_KW1.Value = True Then
CommandButton_KW1.BackColor = RGB(255, 255, 153)
Else
CheckBox_KW1.Enabled = True
CommandButton_KW1.BackColor = &H8000000F
End If
End Sub