Private Sub LookupStringToVariantMatrixSample() Const S = "A|Alpha|B|Bravo|C|Charlie|D|Delta|E|Echo" Dim V() As Variant LookupStringToVariantMatrix V(), S, "|" Debug.Print FormatVariantMatrix(V(), " ", vbCrLf) Debug.Print LookupSorted(V(), "A") Debug.Print LookupSorted(V(), "D") Debug.Print LookupSorted(V(), "G") End Sub
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.