How do you find out the number of elements in a dynamic array? Pretty sure I saw a function to do it once...just don't remeber it.
And how do you reset a dynamic array? I mean, how do you delete all the elements? Just redim it?
Thanks
Printable View
How do you find out the number of elements in a dynamic array? Pretty sure I saw a function to do it once...just don't remeber it.
And how do you reset a dynamic array? I mean, how do you delete all the elements? Just redim it?
Thanks
Dim arrayname() as array
..do you stuff to add things to it
NumOfElements = Ubound(arrayname)