I believe that the easiest way is to work with two-dimensional arrays, then you do not need to transpose, etc.
Function Test() As String() Dim a(1 To 3, 1) As String a(1, 1) = "A" a(2, 1) = "B" a(3, 1) = "C" Test = a End Function
Charles Williams
source share