Hi everyone
I've written a function that will return an array of strings.
My code is like so:
Dim sList() As String
sList = ReturnStrings()
However if no strings are returned i'm left with an empty array. I did a search on here to test for an empty array, but the only solution I found was to do an On Error Resume Next, and then test for the UBound of the array.
Is there a better way to do this?
Transcend
[goregous]
I've written a function that will return an array of strings.
My code is like so:
Dim sList() As String
sList = ReturnStrings()
However if no strings are returned i'm left with an empty array. I did a search on here to test for an empty array, but the only solution I found was to do an On Error Resume Next, and then test for the UBound of the array.
Is there a better way to do this?
Transcend
[goregous]