estatefinds
New Member
I looked all over the internet and found some macro programs to highlight duplicates but it ended up not responding.
Sub DupFinder()
Dim r As Range, t As Range
Set t = Range(“c1:c350000”)
For Each r In t
v = r.Value
If Application.WorksheetFunction.CountIf(t, v) > 1 Then
r.Interior.ColorIndex = 3
End If
Next
End Sub
I know very little right now about VBA; is there something that could be done to this macro that would allow macro to run with out ending up with the "not responding". When I click to run macro I can see that it does what it suppossed to by highlighting, but then freezes up with the "not responding" message. Thanks
Sub DupFinder()
Dim r As Range, t As Range
Set t = Range(“c1:c350000”)
For Each r In t
v = r.Value
If Application.WorksheetFunction.CountIf(t, v) > 1 Then
r.Interior.ColorIndex = 3
End If
Next
End Sub
I know very little right now about VBA; is there something that could be done to this macro that would allow macro to run with out ending up with the "not responding". When I click to run macro I can see that it does what it suppossed to by highlighting, but then freezes up with the "not responding" message. Thanks