Is it possible to pass a multi dimensional array to a range of cells? I know you can pass a single array to a range.
If I use the above code with a multi dimensional array it will only assign the last array to the first row. Is there a way to do this?
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
Code:
Sub ArrayToCells(CurrentData As Variant)
Range(Cells(1, 1), Cells(5, 5)) = CurrentData
End Sub
If I use the above code with a multi dimensional array it will only assign the last array to the first row. Is there a way to do this?
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!