I want to define variables in a loop. Something as below.

Dim ctr as integer
for ctr=1 to 10
dim MyVar<value of ctr>
' which will be like MyVar1...MyVar10
next

Can this be done ?