P
PMC1
Hi,
Using Excel 2003 VBA I'm looking to Populate a 1 dimensional Array
with a Discontiguous values.
For example, instead of fully declaring a range like this
Array(1,2,3,7,8,9) I want ot pupulate the array by declaring the range
and then use something like a loop to populate the array e.g.
Dim myArRanges(1 to 3, 7 to 9)
Redim MyArray(myArRanges)
Could anyone suggest how this might be done.
Thanks
...pc
Using Excel 2003 VBA I'm looking to Populate a 1 dimensional Array
with a Discontiguous values.
For example, instead of fully declaring a range like this
Array(1,2,3,7,8,9) I want ot pupulate the array by declaring the range
and then use something like a loop to populate the array e.g.
Dim myArRanges(1 to 3, 7 to 9)
Redim MyArray(myArRanges)
Could anyone suggest how this might be done.
Thanks
...pc