Question:
How can a dynamic Array be declared?
Solution:
First, you must declare the array with no size. Then, use ReDim declaration to size the array as needed.
Script being executed in a button on screen (example):
Dim Value()
a=2
ReDim Value(a)
Value(0) = 10
Value(1) = 20
MsgBox ” * First Value: ” & Value(0) & ” ** Second Value: ” & Value(1)