Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How can you fill an input box (user form) with the previous value

Would anyone know how I might fill an input box on a user form with the value
that was entered on the previous time the user form was used. For example, if
"John Doe" is entered in the input box on a user form and then the user form
is closed, is there a way to have "John Doe" appear within the input box of
the user form when the form is opened the next time?

Any help given would be greatly appreciated.

Gregory Turk


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default How can you fill an input box (user form) with the previous value

Gregory,

To close the form, use the Hide method, don't unload it. That way, when you
Show later, it will retain all the values.

Obviously, this won't wok if the containing workbook is closed.

--
HTH

-------

Bob Phillips
"Gregory Turk" wrote in message
...
Would anyone know how I might fill an input box on a user form with the

value
that was entered on the previous time the user form was used. For example,

if
"John Doe" is entered in the input box on a user form and then the user

form
is closed, is there a way to have "John Doe" appear within the input box

of
the user form when the form is opened the next time?

Any help given would be greatly appreciated.

Gregory Turk




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How can you fill an input box (user form) with the previous va

Well, that was much easier than I thought it would be.

Thank you very much, Bob.

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
How do I fill a cell in a user form from a selection on same form? Terry Tipsy Excel Discussion (Misc queries) 4 June 11th 07 02:59 PM
A "previous" button on a user form Anthony Slater Excel Discussion (Misc queries) 3 November 29th 04 05:57 PM
Re-Populating Previous Answers into a User Form from the Spreadshe Tom Ogilvy Excel Programming 0 September 9th 04 09:34 PM
User Input Form Beth[_6_] Excel Programming 2 May 13th 04 01:23 AM
Help with a User Input Form Cody Dawg[_2_] Excel Programming 3 October 9th 03 10:08 PM


All times are GMT +1. The time now is 06:38 PM.

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"