Question:
Is there any function that will help me find out an array’s size?
Solution:
Yes. To do so, you must use Ubound function.
Example of script running in a button on screen:
Dim myVector(15)
size = UBound(myVector)
msgbox size