Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default How to reset the values in a Form

Hello,

I got a form and have some textboxes, labels etc.

After some actions, the values on the form (values from labels or textboxes)
are sent to related cells.

And when i do this, the values must be the same as "UserForm_Initialize"

But i couldn't find something for it..

I want the form to be "refreshed" as it opened for the first time...

If i can not do this, i will write for every box for the value that i want :)

Thanks...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to reset the values in a Form

You could call that Userform_initialize procedure at the end of your Ok button.

But if that _Initialize event does lots of things, you may want to create
another procedure that just loads the textboxes/checkboxes/etc.

Then both the _Initialize and your "ok" procedure could call the same procedure.



SupperDuck wrote:

Hello,

I got a form and have some textboxes, labels etc.

After some actions, the values on the form (values from labels or textboxes)
are sent to related cells.

And when i do this, the values must be the same as "UserForm_Initialize"

But i couldn't find something for it..

I want the form to be "refreshed" as it opened for the first time...

If i can not do this, i will write for every box for the value that i want :)

Thanks...


--

Dave Peterson
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
Macro to Reset data input form MichaelRobert Excel Worksheet Functions 5 September 18th 09 02:55 PM
How do I reset the tab order in a form Lyne Excel Worksheet Functions 5 February 12th 07 01:36 PM
How can I reset an Excel form that has radio buttons. JaxPM Excel Programming 5 May 4th 06 03:51 AM
help!! reset a form pywhacket Excel Programming 1 March 17th 06 02:59 PM
how to reset form pywhacket Excel Worksheet Functions 1 March 17th 06 02:54 PM


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

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"