Bonjour,
J'ai au classeur excel qui a 400 lignes un champ de recherche
Option Compare Text
Private Sub TextBox1_Change()
'www.excel-pratique.com/fr/astuces_vba/champ-de-recherche-vba
Application.ScreenUpdating = False
Range("E7:E400").Interior.ColorIndex = 2
If TextBox1 <> "" Then
For ligne = 7 To 400
If Cells(ligne, 5) Like "*" & TextBox1 & "*" Then
Cells(ligne, 5).Interior.ColorIndex = 43
End If
Next
End If
End Sub
et je voudrai que le résultat de la recherche arrive de suite sur le nom rechercher.
Merci de votre réponse et de votre aide.