Je ne comprends pas à quoi sert le mode "Création" puisqu'il n'affiche aucun résultat.
Par contre avec le mode "Recherche" cette macro va bien :
VB:
Private Sub listbox1_Click()
With ListBox1
TextBox1 = .List(.ListIndex, 0)
TextBox2 = .List(.ListIndex, 1)
End With
With Sheets("Feuil1")
TextBox3 = Application.CountIfs(.Columns(1), TextBox1, .Columns(2), TextBox2)
End With
End Sub
Pour TextBox3 c'est la fonction NB.SI.ENS qui est utilisée.