+ Reply to Thread
Results 1 to 5 of 5

Remember text in next textbox

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    Almere
    MS-Off Ver
    Excel 2003
    Posts
    48

    Remember text in next textbox

    I have a userform with some textboxes.
    The value of the textbox is empty and the user can write text in this textbox.
    This text is than copied and pasted to a different worksheet in a specific cell. Works great !!!!
    BUT.....
    I was wondering if it's possible to remember the text a user types and use this in the next userform ???
    for example, if a user types "1234" in textbox1, and a new userform box opens, can I put "1234" as default value for textbox1 so that the user can choose to leave this text as it is or type new text in it ?
    I tried something with me.textbox1.value and me.textbox1.text but this seems not be working..

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Remember text in next textbox

    hi minifreak, I do not know if that what you meant

    First: with public variable to store textbox input
    Second: using last filled cell on the sheet
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-16-2012
    Location
    Almere
    MS-Off Ver
    Excel 2003
    Posts
    48

    Red face Re: Remember text in next textbox

    ohhhh, this looks very promising !!!
    I just now I can do something with this, thank you very much sofar

  4. #4
    Registered User
    Join Date
    08-16-2012
    Location
    Almere
    MS-Off Ver
    Excel 2003
    Posts
    48

    Re: Remember text in next textbox

    watersev,

    Is it possible to remember the text with the use of a timer ???
    Lets say, the text that a user has typed will be remembered in the other userboxes for max. 2 minutes and after these 2 minutes all textbox values are empty again ??
    Last edited by minifreak; 08-24-2012 at 05:39 AM. Reason: found some answers already

  5. #5
    Registered User
    Join Date
    08-16-2012
    Location
    Almere
    MS-Off Ver
    Excel 2003
    Posts
    48

    Re: Remember text in next textbox

    watersev,

    don't botter anymore, I made a simple second button in the userform. When the user clicks on the button, all inputboxes are cleared !!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1