Option Explicit
Option Compare Text ‘cest ici qu’on évite le problème du Majuscule/Minuscule
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target <> "Nom" Then Exit Sub
Dim Rc As String, R As Range, n As Byte
Rc = InputBox("Entrer les premières lettres voulues.", "Recherche")
For Each R In [Tableau1]
If R Like Rc & "*" Then
R.Select
If R.Row = [Tableau1].Rows.Count + 7 Then
MsgBox "C'est fini !", vbInformation, "Et voilà..."
Exit Sub
End If
If MsgBox("voir d'autres cas ?", vbYesNo, "") = 7 Then Exit Sub
End If
Next
If n = 0 Then MsgBox "pas de réponse !", vbCritical, "Recherche infructueuse"
End Sub