Option Explicit
Sub accest()
Dim cel As Range
With Worksheets("BD")
If .[D3] = "" Then GoTo 1
Set cel = .Columns(1).Find(.[D3], , -4163, 1, 1, , True)
End With
If Not cel Is Nothing Then
Worksheets("TEST").Select: MsgBox "C'est Ok !": Exit Sub
End If
1 MsgBox "Accès refusé."
End Sub