How to Clear all TextBoxes in a Form
Posted on January 5, 2009
1 2 3 4 5 6 7 8 9 10 | 'Controls - How to Clear all TextBoxes in a Form Option Explicit Private Sub Main() Dim ctl As Control For Each ctl In Form1.Controls If (TypeOf ctl Is TextBox) Then ctl.Text = "" Next ctl End Sub |