Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 89
Default clearing data from a user form

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default clearing data from a user form

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

If this post helps click Yes
---------------
Jacob Skaria


"thomas donino" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 89
Default clearing data from a user form

ty

"Jacob Skaria" wrote:

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

If this post helps click Yes
---------------
Jacob Skaria


"thomas donino" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clearing data from Excel 2003 Form berniean Excel Programming 3 July 30th 09 07:34 PM
Date field in user form & Loading a user form on opening workbook Balan Excel Programming 1 May 24th 08 03:40 PM
using a user form to add data FurRelKT Excel Programming 9 October 20th 06 08:44 PM
User form to sort data Gazza Excel Programming 6 September 21st 06 01:59 AM
Reading Data from a User Form. Aaron1978 Excel Programming 2 February 5th 06 07:19 PM


All times are GMT +1. The time now is 01:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"