Would like to iterate through a bunch of text boxes and clear them. So far this
passes over the Ctype expression.
Code:
Private Sub NewRecord()
For Each ctrl As Control In GroupBox1.Controls
If TypeOf ctrl Is TextBox Then
CType(ctrl, TextBox).Text = ""
End If
Next
End Sub