Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My specific question relates to 2D arrays:
1. How to add say a new 10 column row to an existing array with x rows already in it 2. How to create a new array from row 2 col 2 to row 6 col 8 from am existing 10 x 12 array (pretty easy with a Range object). Obviously I can do it by looping through the arrays and assigning values one at a time but is there a better alternative. Andrew |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can't do #1 in VBA. See "ReDim" in the VB Editor's Help.
Re #2 the one-at-a-time method is the only way I know (w/o using the Range method). VB is not like APL. Hth, Merjet |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
About #1 I expect Transpose -- ReDim Preserve -- Transpose will work
for a 2-dimensional array. Merjet |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select Subset of Rows/Cols | Excel Discussion (Misc queries) | |||
concatenate with arrays | Excel Worksheet Functions | |||
concatenate with arrays | Excel Worksheet Functions | |||
concatenate with arrays | Excel Worksheet Functions | |||
How to enter symbols for subset or element of a subset in Excel? | Excel Worksheet Functions |