You have to declare a dynamic array for use with split :

VB Code:
  1. Dim myStrArray() As String
  2. myStrArray = Split(...)