Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
data into an array
Could anyone please tell me how to write vba for reading a
range of data in Excel into an array? thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
data into an array
Carol,
It can be transferred directly Dim myArray myArray = Activesheet.Range("C1:C6") If the range is a single row or column, it creates a 1-D array, if it is multiple rows and columns, it creates a 2-D array. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Carol" wrote in message ... Could anyone please tell me how to write vba for reading a range of data in Excel into an array? thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Display an Array of Data Based on Other Data | Excel Worksheet Functions | |||
meaning of : IF(Switch; Average(array A, array B); array A) | Excel Worksheet Functions | |||
Pulling Data from an Array | Excel Discussion (Misc queries) | |||
Filling an array with data | Excel Worksheet Functions | |||
What is the maximum allowed number of data elements in a data array? | Excel Discussion (Misc queries) |