Public Function Lookup( _ ByVal vValue As Variant _ , Optional ByVal vCompare As Variant _ ) As Boolean
Assuming Dim lstTemp As New List lstTemp.Add "FunctionName" lstTemp.Add "SubName" for example lstTemp.Lookup("SubName") = TrueSee also:
Remove Function Add FunctionvValue: The Value that will be searched for within the List. vValue can be any type of Variant value on which comparisons can be made using the EqualLikeDataTypeFast function (vbString, numeric, vbDate, etc.).
v1.1 BugFix: Fixed a bug in this function that caused it to not work in all cases.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.