LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Reset userform?

I have a userform which contains no less than 32 testboxes of information!

Depending on which button the user clicks, on the userform, the text boxes
will contain different information.

Is there a way to clear the contents of all the text boxes, thus not having
32 VBA lines, like...

Textbox_01.Caption = ""
Textbox_02.Caption = ""

Etc...

Maybe something like...

For Each Textbox In Me
.Caption = ""
Next

(Tried the above - didn't work)


And the same 'problem' with Checkboxes?
Is there a way to reset all checkboxes in a userform?


Thanks in advance...



 
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
VBA - UserForm Reset Option megatron08 Excel Programming 18 September 6th 08 10:08 PM
Reset userform Newbie Excel Programming 4 February 5th 07 04:11 AM
Userform loses its capabilities...reset??? T.c.Goosen1977[_6_] Excel Programming 0 June 30th 06 08:01 AM
Userform loses its capabilities...reset??? T.c.Goosen1977[_4_] Excel Programming 2 June 29th 06 03:43 PM
Userform Reset After Scrolling JoJo Excel Programming 0 July 2nd 04 05:26 AM


All times are GMT +1. The time now is 06:37 AM.

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

About Us

"It's about Microsoft Excel"