Private Sub nom_BeforeUpdate(ByVal Cancel As MSForms.ReturnBoolean)
Set f = Sheets("BD")
temp = Application.Match(Me.nom, f.[A2:A10000], 0)
If Not IsError(temp) Then
MsgBox "Doublon"
Cancel = True
Exit Sub
End If
End Sub
Merci beaucoup pour vos réponse mais BoisGontier je comprend mal ta source , je ne veux pas créer un userform mais simplement chercher sur une colonne si il y a un doublon