Bonsoir,
J'ai une listbox et dans une boucle j'aimerais comparer les données par rapport à la combobox2.
J'ai écris ca mais ça ne fonctionne pas :
For compte = 0 To ListBox1.ListCount - 1
If ComboBox2.List(ComboBox.ListIndex) = ListBox1.List(compte) Then
MsgBox "Oui"
Else: MsgBox "Non"
End If
Next
Somebody can help me ??
Merci
matthieu
J'ai une listbox et dans une boucle j'aimerais comparer les données par rapport à la combobox2.
J'ai écris ca mais ça ne fonctionne pas :
For compte = 0 To ListBox1.ListCount - 1
If ComboBox2.List(ComboBox.ListIndex) = ListBox1.List(compte) Then
MsgBox "Oui"
Else: MsgBox "Non"
End If
Next
Somebody can help me ??
Merci
matthieu
Dernière édition: