+ Reply to Thread
Results 1 to 2 of 2

VBA Code to limit amount of text or numbers entered into a textbox?

  1. #1
    Forum Contributor funkymonkUK's Avatar
    Join Date
    01-07-2005
    Location
    London, England
    Posts
    500

    VBA Code to limit amount of text or numbers entered into a textbox?

    Hi

    I have a userform with a textbox which should only have a mixer of numbers and text of 8 characters. any help?

  2. #2
    Forum Contributor
    Join Date
    06-10-2004
    Location
    India
    Posts
    1,066
    Use the MaxLength property to set the length, e.g.
    TextBox1.MaxLength = 8

    - Mangesh

+ 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