clearing data from a user form

  • Thread starter Thread starter thomas donino
  • Start date Start date
T

thomas donino

I am relatively green at this so pardon my ignorance. I have created a user
form, it works fine. I want to add a button to the form, that clears the data
in the user form.
It has three fields, email address, subject and message.

Thank you
 
Private Sub CommandButton1_Click()
Me.TextBox1.Text = ""
Me.TextBox2.Text = ""
Me.TextBox3.Text = ""
End Sub

If this post helps click Yes
 
ty

Jacob Skaria said:
Private Sub CommandButton1_Click()
Me.TextBox1.Text = ""
Me.TextBox2.Text = ""
Me.TextBox3.Text = ""
End Sub

If this post helps click Yes
 
Back
Top