pls help in the code:
to detect a duplicate entry on column C only
many many thanks
to detect a duplicate entry on column C only
many many thanks
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("C:C")) Is Nothing Then
** when an entry to column C of a duplicate (using countif(c:c,c&i)>1 formula?)
MsgBox "No Duplicate allowed!",vbcritical
Exit Sub
End If
End Sub