Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a range with distinct items

Status
Not open for further replies.

Cage

MIS
Aug 25, 2002
50
CA
I have a range e.g myrange=A,B,B,C,D,C,E and I would like to create a new range containing only distinct items, e.g distinct(myrange) = "A,B,C,D,E"

VBA supports a union and intersect, but I cannot find one for distinct, is there a simple function which will do this or do I need to create my own. any ideas?

TIA

Cage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top