Hello All,

Is it possible to have a For/Next loop for Text Box numbers?

I tried the following code but I get a error message:
"Object variable or with block variable not set".

Code:
Private Sub Form_Load()
Dim a As Integer
Dim texta As TextBox

For a = 1 To 2
texta.text = 2
texta.text = 4
Next a


End Sub
Any ideas.

Regards
Tarablue