Quick Question on Jagged Arrays. I have a static container array that will not change in size:
Dim StaticArray(1 to 3, 1 to 4, 1 to 12) as variant
I am assigning array values to each index in the static array as follows:
Dim ArrayInput() as Variant
ArrayInput = Array(1,2,3,4,5)
StaticArray(1,1,1) = ArrayInput
After assigning the array of values into StaticArray, I want the flexibility to add one more value to the ArrayInput Variable.
Is there any way to redim preserve the Variant contained in StaticArray(1,1,1)? Something like:
Redim Preserve StaticArray(1 to 3, 1 to 4, 1 to 12)(1 to ubound(?)+1)
Or is the only option to modify the ArrayInput variable and re-read?
Thanks!