Results 1 to 6 of 6

UserForm Textbox Specific Format

Threaded View

  1. #4
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: UserForm Textbox Specific Format

    Quote Originally Posted by AlexRoberts View Post
    Because I want to make things neat and tidy is there a way to postion the cursor back to the beginning of the string when the input does not match the criteria.
    Yes you can, Set the focus to the textbox.
    Try Adding this (see below) and see if that works for you.



    Me.TextBox1.SetFocus
    Last edited by jwright650; 12-18-2010 at 07:30 AM. Reason: added code tags
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

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