If i declare an Array of variable length and i store some data in it but i don't know how many datas i stored.
While the Array has datas in it how do i find out it's length?
Printable View
If i declare an Array of variable length and i store some data in it but i don't know how many datas i stored.
While the Array has datas in it how do i find out it's length?
The UBound function will get the upper bound of the dynamic array, but you'll need to write your own code to remember which indexes you have filled up with some data yourself.