Hi there,
I am still practicing and learning array bit by bit in vba.
Now I'm stuck with Redim Preserve.
I managed to Redim preserve a two dimensional array. For example arr( 1 To 10, 1 To 4) now I redim preserve it (1 To 10, 1 To 6).
My problem is I dont know now how to refill the new columns in an array with values. I tried with the little knowledge I had but ended up overwriting the preserve values
I would like an example using values from controls e.g comboboxes. But from range as well is highly appreciated.
Thanks in advance
I am still practicing and learning array bit by bit in vba.
Now I'm stuck with Redim Preserve.
I managed to Redim preserve a two dimensional array. For example arr( 1 To 10, 1 To 4) now I redim preserve it (1 To 10, 1 To 6).
My problem is I dont know now how to refill the new columns in an array with values. I tried with the little knowledge I had but ended up overwriting the preserve values
I would like an example using values from controls e.g comboboxes. But from range as well is highly appreciated.
Thanks in advance