Hi
I have something like this:
VB Code:
Dim [B]ctl [/B]As Variant Private Sub Command1_Click() For Each ctl In Form1.Controls If TypeOf ctl Is TextBox Then ctl.Text = vbNullString End If Next End Sub
Variable >> ctl << which I declared must be in type Variant? This variable takes the most memory - how this is really?
thanks
