I created the following function but I get a mismatch error. Does the array have to be dimensioned to the right size first?
Thanks!
Code:
Function TestArray() As Variant()
myData = "1,2,3"
TestArray = Split(myData, ",")
End Function
Thanks!
Last edited: