IList: IndexOf |
Returns the index of the value within the list.
Public Function IndexOf( ByRef Value As Variant ) As Long
In general, -1 is returned for an unfound value. If the lowerbound of the underlying list is not 0, then the return value should be the lowerbound-1 for values not found.