-
Is it possible to make a variable array count up. If the variable array is questions(1 to 100) as string could I make this count up if a certain condition is true.
questions(index) = questions(index) +1 or something
I know that this doesnt work, but is it possible.
Thanks
-
you mean resize the array? If so, use Redim to resize it. Also include Preserve if you want to hold on to the array contents
-
Perhaps, you can use the Dictionary Object. because this object provide the item count properties too. Yet, you can have a faster search in the Dictionary object as compare to the normal array.
With the Dictionary Object, you can Add & Remove an item easily.