Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Did you download the file i told you..
the code is in worksheet change event.. Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column < 1 Then Exit Sub On Error GoTo err1 If Application.WorksheetFunction.CountIf(Range("a:a") , Target) 1 Then Target = "" Target.Select MsgBox "Duplicate Entry." End If err1: End Sub this the code i am using. --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 + macro for validation | Excel Discussion (Misc queries) | |||
Stopping duplication within Data validation | Excel Worksheet Functions | |||
Duplication Macro | Excel Discussion (Misc queries) | |||
Remove Duplication from Validation List? | Excel Discussion (Misc queries) | |||
Remove duplication from validation list? | Excel Worksheet Functions |