Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Keeping Textbox Values After Reopening Userform


I have collaborated a multipage on a userform that is used as a sort of
wizard for a design calculations program, but it is also the single
interface with the spreadsheet (if the wizard closes, Excel closes, and
the spreadsheet cannot be modified manually). I have the userform
automatically display upon opening the excel file, and each modified
file is saved by the quote number. However, whenever a file is opened
in the future, I want it so that the userform still has all of the
values in the text boxes, and that all of the corresponding check boxes
that were selected (and modified comboboxes, etc) are the same as when
the userform was last closed (for that saved file). How would I go
about doing this? If this is unclear, please let me know and I will
see if I can further clarify.

Thanks in advance!

Trace


--
biodieselbenz
------------------------------------------------------------------------
biodieselbenz's Profile: http://www.excelforum.com/member.php...o&userid=24958
View this thread: http://www.excelforum.com/showthread...hreadid=384875

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Keeping Textbox Values After Reopening Userform

Have the form write the values of the controls on the form into a hidden
sheet when the user unloads the form. Then you can write some code that
initializes the form with those values when it is re-opened.
--
HTH...

Jim Thomlinson


"biodieselbenz" wrote:


I have collaborated a multipage on a userform that is used as a sort of
wizard for a design calculations program, but it is also the single
interface with the spreadsheet (if the wizard closes, Excel closes, and
the spreadsheet cannot be modified manually). I have the userform
automatically display upon opening the excel file, and each modified
file is saved by the quote number. However, whenever a file is opened
in the future, I want it so that the userform still has all of the
values in the text boxes, and that all of the corresponding check boxes
that were selected (and modified comboboxes, etc) are the same as when
the userform was last closed (for that saved file). How would I go
about doing this? If this is unclear, please let me know and I will
see if I can further clarify.

Thanks in advance!

Trace


--
biodieselbenz
------------------------------------------------------------------------
biodieselbenz's Profile: http://www.excelforum.com/member.php...o&userid=24958
View this thread: http://www.excelforum.com/showthread...hreadid=384875


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Keeping Textbox Values After Reopening Userform

You would have to save that information somewhere, such as on a hidden
worksheet, and have some way of knowing which item is being selected, some
sort of Id. When you open the form again, you would then look it up.

--
HTH

Bob Phillips

"biodieselbenz"
wrote in message
news:biodieselbenz.1rr73u_1120662708.6207@excelfor um-nospam.com...

I have collaborated a multipage on a userform that is used as a sort of
wizard for a design calculations program, but it is also the single
interface with the spreadsheet (if the wizard closes, Excel closes, and
the spreadsheet cannot be modified manually). I have the userform
automatically display upon opening the excel file, and each modified
file is saved by the quote number. However, whenever a file is opened
in the future, I want it so that the userform still has all of the
values in the text boxes, and that all of the corresponding check boxes
that were selected (and modified comboboxes, etc) are the same as when
the userform was last closed (for that saved file). How would I go
about doing this? If this is unclear, please let me know and I will
see if I can further clarify.

Thanks in advance!

Trace


--
biodieselbenz
------------------------------------------------------------------------
biodieselbenz's Profile:

http://www.excelforum.com/member.php...o&userid=24958
View this thread: http://www.excelforum.com/showthread...hreadid=384875



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
Using scrolling textbox on wks for keeping notes rgarber50 Excel Discussion (Misc queries) 0 August 6th 05 04:44 AM
Userform retain data after closing and reopening Joel Mills Excel Programming 4 June 20th 05 08:57 PM
Removing textbox after saving and reopening document? curlyfry76 Excel Discussion (Misc queries) 1 April 12th 05 02:51 PM
Adding up values of textbox in Userform Mark Excel Programming 3 April 25th 04 09:10 PM
UserForm TextBox to ActiveSheet TextBox over 256 characters Dan E[_2_] Excel Programming 1 July 28th 03 07:36 PM


All times are GMT +1. The time now is 07:09 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"