Clear all text boxes on a form with 6 lines of code.
Clear all text boxes on a form with 6 lines of code.
Rate Clear all text boxes on a form with 6 lines of code.
(2(2 Vote))
'Add a command button and put the code...
Private Sub Command1_Click()
Dim ctr As Control
For Each ctrl In Me.Controls
If TypeOf ctrl Is TextBox Then
ctrl.Text = ""
End If
Next
End Sub
Clear all text boxes on a form with 6 lines of code. Comments
No comments yet — be the first to post one!
Post a Comment