Hi

I have something like this:

VB Code:
  1. Dim [B]ctl [/B]As Variant
  2. Private Sub Command1_Click()
  3. For Each ctl In Form1.Controls
  4. If TypeOf ctl Is TextBox Then
  5. ctl.Text = vbNullString
  6. End If
  7. Next
  8. End Sub

Variable >> ctl << which I declared must be in type Variant? This variable takes the most memory - how this is really?

thanks