Afficher la valeur du Combobox à partir d’une ListeBOX

Bonjour ,

J’ai créé un USERFORM, qui contient un (ListeBox) et un (ComboBOX). J’ai un fichier de deux colonnes A(code) et B(Libellés).

Dans ma ListeBOX si je choisis un (code), je voudrais que la valeur (Libellé) s’affiche automatiquement dans mon comboBOX.

merci d’avance

Hello,

Un exemple :

Private Sub ListBox1_Click()
    Dim strLibelle As String
    strLibelle = Evaluate("VLOOKUP(" & ListBox1.Value & ",Feuil1!A2:B3,2,FALSE)")
    ComboBox1.AddItem strLibelle
End Sub
Rechercher des sujets similaires à "afficher valeur combobox partir listebox"