Sub Highlight_Duplicate()
Dim b() As Variant, v As Variant, m As Variant
Dim r As Range, c As Range
Dim n As Long, i As Long, j As Long, q As Long
Application.ScreenUpdating = False
Set r = Range("A1:A" & Range("A" & Rows.Count).End(xlUp).Row)
r.Interior.Color = xlNone
r.Font.ColorIndex = xlAutomatic
n = 1
m = Evaluate("=SUMPRODUCT(LEN(" & r.Address & ")-LEN(SUBSTITUTE(" & r.Address & ","","","""")))")
ReDim b(1 To (m + r.Rows.Count), 1 To 3)
For Each c In r
q = 1
For Each v In Split(c, ",")
b(n, 1) = Trim(v)
b(n, 2) = c.Row
b(n, 3) = q
q = q + Len(v) + 1
n = n + 1
Next
Next
For i = 1 To UBound(b)
For j = 1 To UBound(b)
If b(i, 1) = b(j, 1) And b(i, 2) <> b(j, 2) Then
r.Cells(b(i, 2)).Interior.Color = vbGreen
r.Cells(b(i, 2)).Characters(InStr(b(i, 3), r.Cells(b(i, 2)), b(i, 1)), Len(b(i, 1))).Font.Color = 12406516
Exit For
End If
Next
Next
End Sub