Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
FILL ARRAY ONE ROW AT A TIME
Hi,
I have to thank the forum in general for your help. I find there are a lot of very bright people willing to share their knowledge and time and I'm very appreciative. I would like to fill 1 row of an array at a time, excluding the 1st column. Not 1 cell at a time. something like the following: Sub FillRow() Dim aArr As Variant ReDim aArr(1 To 4, 1 To 2) aArr(1,1) = "VAL11" aArr(ROW 1 COLUMN 2 TO 4) = array("VAL12", "VAL13", "VAL14") aArr(2,1) = "VAL21" aArr(ROW 2 COLUMN 2 TO 4) = array("VAL22", "VAL23", "VAL24") End Sub if anyone knows how to fill 1 complete row at a time in this manner that would help too. The values for the array elements will come from VBA strings not a worksheet range. Thanks, Ian |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
FILL ARRAY ONE ROW AT A TIME
Thanks Alan,
You have a lot of interesting functions using arrays on your site. Regards, Ian |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
FILL ARRAY ONE ROW AT A TIME
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Fill in cells with an array | Excel Discussion (Misc queries) | |||
fill array | Excel Programming | |||
fill down array to last available row | Excel Worksheet Functions | |||
Fill Array from a CSV File | Excel Programming | |||
Fill Searched array with text | Excel Programming |