try this:

Dim textboxes(#) as textbox

I = (#

textbox(i).text="hello world"




(# = What ever number you want. (Dim textboxes(AS many as you want)