Code: Select all
Dim txt As Control
For Each txt In Me.Controls
If TypeOf txt Is TextBox Then txt.Text = ""
Next
Code: Select all
Dim txt As Control
For Each txt In Me.Controls
If TypeOf txt Is TextBox Then txt.Text = ""
Next
Code: Select all
Msgbox Me.Controls.Count
256KBNYIntensity wrote:What's the attachment size limit?
I don't, but hopefully one of our friendly and helpful loungers will have.NYIntensity wrote:And do you have Visual Studio 2008?
Code: Select all
Dim txt As Control
For Each txt In Me.Controls
If TypeName(txt) = "TextBox" Then txt.Text = ""
Next