Thread
:
Transfering VBA Array Column Range to Excel Column Range
View Single Post
#
5
Posted to microsoft.public.excel.programming
Tushar Mehta
external usenet poster
Posts: 1,071
Transfering VBA Array Column Range to Excel Column Range
The OP wrote, "Is there any way I can make ActiveColumn = to a portion
of the array without using a Loop?"
How does that translate to "it doesn't get at the OP's request for
getting a range column into a VBA array ?"
--
Regards,
Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
In article ,
says...
That won't work in Excel2000 and earlier for an x that is a 100x100
array, or any array of more than 5461 elements. And in any event, it
doesn't get at the OP's request for getting a range column into a VBA array.
Alan Beban
Tushar Mehta wrote:
A one way transfer, i.e., from the array to the XL range and if want to
pick the vector that corresponds to the outer index, the following will
work:
Range("A1").Resize(100, 1) = .Transpose(.Index(x, 1))
It transfers the first row of the 2D array x into 100 cells in column A
of the worksheet starting with A1.
Reply With Quote
Tushar Mehta
View Public Profile
Find all posts by Tushar Mehta