Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

recherche multicritère

Aucune réponse
Avatar
xmanyoung
Bonjour, forum
j'ai un problème sur vba avec userform, j'aimerai faire une recherche multicritère sur plusieurs ligne mais ça fait un moment que je tourne en rang,
quand je l'ai essayer sur une ligne mais au lieu d'afficher la reponse automatique il affiche ce que je l'impose
voici le code:
Dim valeur As Integer
Dim a As String
If Not IsNumeric(TextBox1.Text) Then Exit Sub
valeur = CInt(TextBox1.Text)
If valeur >= Sheets("RESSOURCES").Range("T4") And valeur <= Sheets("RESSOURCES").Range("U4") Then

a = Sheets("RESSOURCES").Range("J4")

Else
a = ""
End If

Me.TextBox11.Text = a

Réponses