How can you fill an input box (user form) with the previous value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top