hi guys, i have 3 textbox like this :
ForEach Code:
  1. Private Sub Command1_Click()
  2. Dim a As Object
  3. Dim T As TextBox
  4. Set a = T
  5. For Each a In Form1
  6.     a.Text = "TEST"
  7. Next a
  8. End Sub

but after the last text have been filled with "TEST" it show msgbox "Run Time error 13 Type Mismatch"

can u help me to solve this problem plz