Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What is a good method of taking data out of an column and then storing that
data in to an array until it reaches the end of the column. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Will this do? Dim arr As Variant arr = Range("a1:a" & Cells(Rows.Count, 1).End(xlUp).Row) For i = 1 To UBound(arr, 1) Debug.Print arr(i, 1) Next i Range("a1:a" & Cells(Rows.Count, 1).End(xlUp).Row)=arr "Raleigh" wrote: What is a good method of taking data out of an column and then storing that data in to an array until it reaches the end of the column. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim rng as Range, v as Variant
set rng = Range(Range("B1"),Range("B1").end(xldown)) v = rng.Value now v is a 2D array v(1 to #rows,1 to 1) -- Regards, Tom Ogilvy "Raleigh" wrote in message ... What is a good method of taking data out of an column and then storing that data in to an array until it reaches the end of the column. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
invoice on sheet 1 & data store on sheet 2 automatically | Excel Discussion (Misc queries) | |||
Store array ??? | Excel Worksheet Functions | |||
Can one store a string in a Array element? | Excel Discussion (Misc queries) | |||
store inventory sheet(ex:sports equipment store) | Excel Worksheet Functions | |||
Lookup and store in array | Excel Programming |