Sub recherche()
Dim valeur, vt, rep
Dim Msg1, Style, Title, Response1
rep = Application.InputBox("Recherches", "Inscrivez le Nom Recherché", "Le Nom")
Msg1 = "Voulez vous continuez la recherche ?"
Style = vbYesNo + vbCritical + vbDefaultButton2
valeur = rep '<---- à adapter
Title = "RECHERCHE de " & valeur
Range("A1").Select
On Error Resume Next
ActiveSheet.Cells.Find(What:=valeur, After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=False) _
.Activate
vt = Application.Find(valeur, ActiveCell)
If vt = 2015 Then GoTo suite
Response1 = MsgBox(Msg1, Style, Title)
If Response1 = vbNo Then
Exit Sub
Else
Do While Response1 = vbYes
Cells.FindNext(After:=ActiveCell).Activate '
If ActiveCell.Column <> 1 Then Range("A1").End(xlDown).Select
Response1 = MsgBox(Msg1, Style, Title)
Loop
End If
suite:
If ActiveCell <> valeur Then MsgBox ("Le nom cherché n'a pas été trouvé ")
End Sub