ich hätte gerne, dass die Farbe des Command Buttons sich nach dem anklicken verändert. Wenn möchglich noch in Abhängigkeit eines anderen Zellwertes. Geht das?
Grüsse
Tulio Acevedo
Private Sub CommandButton1_Click()
With CommandButton1
If .BackColor = 12632319 Then
.BackColor = 12648384
Else
.BackColor = 12632319
End If
End With
End Sub
Private Sub CommandButton1_Click()
With CommandButton1
If .BackColor = RGB(255, 0, 0) Then
.BackColor = RGB(180, 180, 180)
Else
.BackColor = RGB(255, 0, 0)
End If
End With
End Sub
Gruß