Dunno about a popup because you may have multiple duplicates so it could get a bit boring..
The following uses conditional highlighting to show duplicates
Sub HighlightDupes()
Dim LastRow As Long
Range("A1").Select
LastRow = Cells(Rows.Count, "A").End(xlUp).Row + 1
Range("$A$1:$A" & LastRow).FormatConditions.Delete
Range("$A$1:$A" & LastRow).FormatConditions.Add Type:=xlExpression, Formula1:= _
"=COUNTIF($A2:$A$" & LastRow & ",A1)>0"
Range("$A$1:$A" & LastRow).FormatConditions(Range("$A$1:$A" & LastRow).FormatConditions.Count).SetFirstPriority
With Range("$A$1:$A" & LastRow).FormatConditions(1).Interior
.PatternColorIndex = xlAutomatic
.Color = 5287936
.TintAndShade = 0
End With
Range("$A$1:$A" & LastRow).FormatConditions(1).StopIfTrue = False
End Sub
Note ; If the duplicates are a pair - it only highlights the first instance
Bookmarks