Sub DeleteDupsCurCol()
Dim x As Long
Dim LastRow As Long
col = ActiveCell.Column
LastRow = Cells(65536, col).End(xlUp).Row
For x = LastRow To 1 Step -1
If Application.WorksheetFunction.CountIf(Range(Cells(1, col), Cells(x, col)), Cells(x, col).Text) > 1 Then
Cells(x, col).EntireRow.Delete
End If
Next x
End Sub
|