Pour trois bouton (ou plus ) , tu fait de la manière qu'avec deux :
-> une fonction par bouton qui modifie la couleur du bouton en question en vert et qui modifie celle des autres en bleu
Private Sub CommandButton1_Click()
Range("A1") = "Oui"
CommandButton1.BackColor = RGB(0, 0, 240)
CommandButton2.BackColor = RGB(0, 240, 0)
CommandButton3.BackColor = RGB(0, 0, 240)
End Sub
Private Sub CommandButton2_Click()
Range("A1") = "Non"
CommandButton1.BackColor = RGB(0, 240, 0)
CommandButton2.BackColor = RGB(0, 0, 240)
CommandButton3.BackColor = RGB(0, 0, 240)
End Sub
Private Sub CommandButton3_Click()
Range("A1") = "autre"
CommandButton1.BackColor = RGB(0, 0, 240)
CommandButton2.BackColor = RGB(0, 0, 240)
CommandButton3.BackColor = RGB(0, 240, 0)
End Sub