+ Reply to Thread
Results 1 to 3 of 3

How to limit a userform textbox to a minimum of 18 characters?

  1. #1
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    How to limit a userform textbox to a minimum of 18 characters?

    Hi,

    I have a textbox1 within a userform that I would like to limit to a minimum of 18 characters.

    If the textbox1 has less than 18 then I would like a message box to say so.

    Any help would be much appreciated.

    Kind Regards

    Dan

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    1,808

    Re: How to limit a userform textbox to a minimum of 18 characters?

    e.g.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    Re: How to limit a userform textbox to a minimum of 18 characters?

    Hi porucha vevrku,

    that's worked perfectly, thank you so much.

    Kind Regards

    Dan

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Loading more than 255 characters into a userform textbox
    By witchcraftz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-27-2016, 05:49 PM
  2. Need a min and max limit for characters in a userform field
    By nohero in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-04-2014, 02:34 PM
  3. [SOLVED] Limit number entry in Userform TextBox to exactly 6 digits
    By Twaddy006 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2014, 10:53 AM
  4. [SOLVED] Limit Character Length in a Userform Textbox
    By Gal403 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-24-2014, 05:18 AM
  5. [SOLVED] expand textbox character limit in userform
    By tomanton in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-05-2014, 06:04 AM
  6. Limit Userform TextBox Characters
    By jennie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2011, 02:17 PM
  7. Userform textbox vertical scrollbars not at bottom limit - show more...
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2009, 08:59 PM

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