G
Guest
I have a 5000-row list in following forma
andrew
andrew
andrew
andrew
barbara
barbara
barbara
I want to go through whole list and eliminate replicates so the above sample will become
andrew
andrew
barbara
barbara
Ive tried the following- quite doesnt wor
Thanks in advanc
Sub Rowdel(
Dim jeff, ta
Range("b2").Selec
jeff = ActiveCell.valu
Do Until IsEmpty(ActiveCell.value
ActiveCell.Offset(1, 0).Selec
taz = ActiveCell.valu
If taz = jeff The
ActiveCell.EntireRow.Delet
End I
Loo
End Su
andrew
andrew
andrew
andrew
barbara
barbara
barbara
I want to go through whole list and eliminate replicates so the above sample will become
andrew
andrew
barbara
barbara
Ive tried the following- quite doesnt wor
Thanks in advanc
Sub Rowdel(
Dim jeff, ta
Range("b2").Selec
jeff = ActiveCell.valu
Do Until IsEmpty(ActiveCell.value
ActiveCell.Offset(1, 0).Selec
taz = ActiveCell.valu
If taz = jeff The
ActiveCell.EntireRow.Delet
End I
Loo
End Su