Problem with 2-dimensional array
Because using Preserve you can only resize the last dimension. (Missed that
in the post.)
So you would have to rotate your array and use:
ReDim Preserve ContactArray(1,Counter) As Variant
NickHK
groups.com...
If I use:
ReDim Preserve ContactArray(Counter, 1) As Variant
It'll give me an error about non-matching types.
Martin Brader schreef:
You need to add Preserve to your REDIM statement otherwise the array is
reinitialised everytime you do a REDIM
|