Bonjour
Pour la Premiere partie
Private Sub ValueOptionButtonChange()
If UserForm1.OptionButton1.Value True Then Range("A1").Value UserForm1.OptionButton1.Caption
If UserForm1.OptionButton2.Value True Then Range("A1").Value UserForm1.OptionButton2.Caption
If UserForm1.OptionButton3.Value True Then Range("A1").Value UserForm1.OptionButton3.Caption
End Sub
a la création du form,
Tous les OptionButton.GroupName identique et pour activer OptionButton.Value = True
Pour chaque OptionButton1 2 3
Private Sub OptionButton2_Click()
Call ValueOptionButtonChange
End Sub
Pour la Deuxieme partie
Pour chaque OptionButton1 2 3
If UserForm1.OptionButton2.Caption Range("A1").Value Then UserForm1.OptionButton2.Value True
@+JP