Consulting

Results 1 to 5 of 5

Thread: Solved: select other object when a textbox is full

  1. #1

    Solved: select other object when a textbox is full

    Hi guys !

    My textbox has a maxlenght, when this maxlenght is reached, I want another textbox to be automatically selected and ready to accept text.

    thanks

  2. #2
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Attached is an example from mvidas. Its pretty self explanatory but if you have questions post them here.
    I use this a lot
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    Knowledge Base Approver
    The King of Overkill!
    VBAX Master
    Joined
    Jul 2004
    Location
    Rochester, NY
    Posts
    1,727
    Location
    Thanks Steve, I actually don't even remember doing that, but I'll take your word for it Looks like something I might do though

    circaa - The key settings for those are the TabOrder (starting with zero), MaxLength, and AutoTab=False.
    If you're referring to textboxes on the worksheet, they don't have a taborder, I don't remember if there is a way to do it or not. Using a userform is much easier, as demonstrated there.

    Matt

  4. #4
    Solved

    Thanks Steve !

  5. #5
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Thanks goes to Matt. He's the one who worked this out for us. I know it was yours Matt as your name was in the doc properties which I removed before posting.......I'm glad it served your purpose.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

Posting Permissions

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