D
Dennis
I've searched the Microsoft.public.Excel.misc archives and my VBA books but have
not found the answer to this query
If you have a spreadsheet with numbers that has 40 columns and 3000 rows how do
you transfer that sheet into a 2D array in one chunk without using a loop?
For instance you can transfer an 3000x40 array into a spreadsheet by
Activeworkbook.Sheets(1).Cells(1,1).Resize(3000,40) = Array
How do you go the other way?
I've tried
Dim Array () as Variant
ReDim Array (1 to 3000, 1 to 40)
Array() = Activeworkbook.Sheets(1).Range(Columns(1),Columns(40).Value
but this did not work.
Thanks for any help.
Dennis
not found the answer to this query
If you have a spreadsheet with numbers that has 40 columns and 3000 rows how do
you transfer that sheet into a 2D array in one chunk without using a loop?
For instance you can transfer an 3000x40 array into a spreadsheet by
Activeworkbook.Sheets(1).Cells(1,1).Resize(3000,40) = Array
How do you go the other way?
I've tried
Dim Array () as Variant
ReDim Array (1 to 3000, 1 to 40)
Array() = Activeworkbook.Sheets(1).Range(Columns(1),Columns(40).Value
but this did not work.
Thanks for any help.
Dennis