In Wuschel Basic 6 geht das aber so.. versuch mal

For i=1 to Textbox1.Text
...
Next i

sollte doch wohl gehen :surprised