Option Explicit
Private Sub cmdLittleCommandButton1_Click()
cmdLittleCommandButton1.BackColor = RGB(Int(Rnd() * 256), Int(Rnd() * 256), Int(Rnd() * 256))
End Sub
Private Sub cmdLittleCommandButton2_Click()
cmdLittleCommandButton2.BackColor = IIf(cmdLittleCommandButton2.BackColor = vbRed, vbGreen, vbRed)
End Sub