Private Sub Search_Click()
On Error Resume Next ' En cas d'erreur continue le code
Cells.Find(What:=TextBox1, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False).Activate
' Si il y a erreur, la fonction : [B]Err[/B] retourne un code
If Err.Number <> 0 Then
MsgBox "Le critère de recherche n'a pas été trouvé !", VbInformation,"Recherche Infructueuse"
Endif
On Error Goto 0
End Sub