Can anyone give me VBA code that will take a range (row or column) from an Excel sheet and populate a list/array with the unique values, i.e.:
table
table
chair
table
stool
stool
stool
chair
when the macro runs would create an array some thing like:
fur[0]=table
fur[1]=chair
fur[2]=stool
In this situation I always use code like this (just make sure delimeter you've chosen is not a part of search range)
Combining the Dictionary approach from Tim with the variant array from Jean_Francois below.
The array you want is in
objDict.keys