I'm getting a '800a000d' Type Mismatch error when I try to return a 2D array from a function. I'm passing in LineArray, sorting it and returning it. What am I missing?
dim LineArray (2, 19)
...
LineArray = SortArray (LineArray, 0)
...
------------------------------------------
function SortArray (InArray, SortCol)
------------------------------------------
...
<Sort Logic>
...
SortArray = InArray
End Function
-------------------------------------
dim LineArray (2, 19)
...
LineArray = SortArray (LineArray, 0)
...
------------------------------------------
function SortArray (InArray, SortCol)
------------------------------------------
...
<Sort Logic>
...
SortArray = InArray
End Function
-------------------------------------