Hi.
does anybody know if there is a quick way to find which value in an array occurs most frequently ?

For example if I had a list of first names assigned to
strName()

and I wanted to know which name came up most often in the list, how could i do that efficiently?

I know that if I use a couple of for next loops, i can make a very slow one.

Any ideas?


Along these lines, is there a way to use code like InStr to search through an array without a loop?