Maybe
Select the entire sheet (all cells) and
CF (Excel 2007 or higher)
=COUNTIF(A1:$X$1048576,A1)>1
All the duplicates instances will be highlighted, except the last one
M.
Sorry to say this Marcelo, I made it fail
A1:A5,B1:B4,C1:C3,D1:D2 and E1 all contain the word "Test"
Now I'm going to sneak off and return to the problem in #18
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then
HighlightDups
Else
If Target <> "" And Cells.Find(What:=Target.Value, after:=Target.Offset(1, 0), LookIn:=xlValues, LookAt:= _
xlWhole, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=False _
, SearchFormat:=False).Address <> Target.Address Then
Target.Interior.Color = RGB(0, 255, 0)
Else: Target.Interior.Pattern = xlNone
End If
End If
End Sub
Yes, you are right.... and
M.