ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   load 2 dimensional array into excel sheet (https://www.excelbanter.com/excel-programming/379437-re-load-2-dimensional-array-into-excel-sheet.html)

Bob Phillips

load 2 dimensional array into excel sheet
 
Just load it into the range

Range("A1:C3") = ary


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Chris" wrote in message
...
Hi,

I have a 2 dimensional array.

I would like to load the array into a worksheet starting at lets say: A1.

I know how to do this with a nested looping structure but thought maybe

there
was a function available in the vb or excel libraries.

I tried using worksheetfuncton.transpose but it does not give the desired
result.

thanks

Chris





All times are GMT +1. The time now is 01:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com