j'ai une combobox rempli de deux choix. Seulement je n'arrive pas a associé une action a un choix. Mon code ne doit pas convenir. Merci de votre aide
Private Sub combobox_agent_DropButtonClick()
combobox_agent.Clear
combobox_agent.AddItem "AA"
combobox_agent.AddItem "BBB"
If combobox_agent.Value = "AA" Then
MsgBox ("on avance")
Else
MsgBox ("On recule")
End If
End Sub