A starting point:
Function getAnArray(strToParse As String, strDelimiter As String)
Dim a
a = Split(strToParse, strDelimiter)
If UBound(a) >= 0 Then getAnArray = a
End Function
Example of call in the debug window:
? getAnArray("1,2,34",",")(0)
Hope This Helps, PH.
FAQ219-2884
FAQ181-2886