I\'ve written a macro that takes a 2 dimensional array, and \"prints\" it to equivalent cells in an excel workbook.
Is there a more elegant way to do this?
My tested version
Sub PrintArray(RowPrint, ColPrint, ArrayName, WorkSheetName) Sheets(WorkSheetName).Range(Cells(RowPrint, ColPrint), _ Cells(RowPrint + UBound(ArrayName, 2) - 1, _ ColPrint + UBound(ArrayName, 1) - 1)) = _ WorksheetFunction.Transpose(ArrayName) End Sub