How to make a textbox array at Runtime ?
ie, I want to make some textboxes in arrays (say txtNAME(i) )

I tried this method

Set txtNAME1 = Controls.Add("VB.textbox", "txtNAME1"), it works.

But when I give

FOR I = 1 TO 10
Set txtNAME(i) = Controls.Add("VB.textbox", "txtno(i)")
NEXT

It gives “Not a legal object Name” error message

Anyone with a helping hand ?
Thanks in advance