PC Review


Reply
Thread Tools Rate Thread

Clear Form's textboxes and checkboxes???

 
 
TotallyConfused
Guest
Posts: n/a
 
      15th Sep 2009
I have a Userform with textboxes and checkboxes. I want to add a "Cancel"
command button that when clicked on button it will ask if you want to cancel
the form. If yes, clear all textboxes and checkboxes. If no, leave as it
and continue. How do I write this code? Any help will be greatly
appreciated. Thank you.
 
Reply With Quote
 
 
 
 
TotallyConfused
Guest
Posts: n/a
 
      15th Sep 2009
Sorr wrong forum.

"TotallyConfused" wrote:

> I have a Userform with textboxes and checkboxes. I want to add a "Cancel"
> command button that when clicked on button it will ask if you want to cancel
> the form. If yes, clear all textboxes and checkboxes. If no, leave as it
> and continue. How do I write this code? Any help will be greatly
> appreciated. Thank you.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to clear all checkboxes on a form? Arlen Microsoft Excel Worksheet Functions 2 6th May 2010 05:20 PM
looping through form to clear textboxes =?Utf-8?B?QXJub2xkIEtsYXBoZWNr?= Microsoft Access VBA Modules 6 15th Aug 2006 08:52 PM
Clear all textboxes on a form ? SpookiePower Microsoft Excel Programming 1 26th Jan 2006 05:02 PM
Is it possible to clear containts of all textboxes on a form by issusing one command TIA Microsoft Dot NET Framework Forms 5 21st Jan 2004 09:00 PM
Clear Textboxes, Labels, and Checkboxes milo Microsoft Excel Programming 1 16th Oct 2003 10:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:49 PM.