How can I delete duplicates from a list object?
Like say I have two lines with the same items in, how can I delete one and keep the other, Ive been playing with different loops for the past 2 days!
PS Merry Xmas!
Printable View
How can I delete duplicates from a list object?
Like say I have two lines with the same items in, how can I delete one and keep the other, Ive been playing with different loops for the past 2 days!
PS Merry Xmas!
easily, just loop through the list, and have two other conditions
if
listItem(i) = "fish"
&
listItem(i+1) = "fish"
then do the action of deleting the item at i.
And if the two identicals are spread through the list, sort the list.
Ah ha! Thanks guys! A lot easier than what I was trying!