duncansancho
Technical User
I often have lists in excel which contain duplicate entries.
Untill now I have been sorting the list alphabetically and then running the following code but it is slow slow slow. There must be a better way, please?
Range("A3"
.Select
Do Until ActiveCell = ""
Do While ActiveCell = ActiveCell.Offset(1, 0)
ActiveCell.Delete
Loop
ActiveCell.Offset(1, 0).Range("A1"
.Select
Loop
Thanks!
Duncan
Untill now I have been sorting the list alphabetically and then running the following code but it is slow slow slow. There must be a better way, please?
Range("A3"
Do Until ActiveCell = ""
Do While ActiveCell = ActiveCell.Offset(1, 0)
ActiveCell.Delete
Loop
ActiveCell.Offset(1, 0).Range("A1"
Loop
Thanks!
Duncan