When I use the statement:
then I have created a variant variable named "Ary".Dim Ary As Variant
If I then use a statement like:
the variable "Ary" becames a variant dynamic array.Ary = Split(ActiveCell.Address,":")
Am I correct so far?
Then at the end of the macro I should use the statement
to release the memory used by the dynamic array. Is that correct?Erase Ary
In the "Dim" statement, if I had written it as:
is all of the stuff above still true, except that "Ary" immediately becomes a dynamic array?Dim Ary() As Variant