+ Reply to Thread
Results 1 to 2 of 2

Userform; text restrictions

  1. #1
    Registered User
    Join Date
    03-22-2006
    Posts
    25

    Userform; text restrictions

    Hi,

    I'm working with a VBA userform; in the fields are only digits and letters allowed. How do I make this restriction?

  2. #2
    Tom Ogilvy
    Guest

    RE: Userform; text restrictions

    There is no built in data validation capability. You would need to use code
    to validate the data using the builtin events.

    If, by chance, you have a textbox with a finite list of acceptable entries,
    then you can replace that with a combobox.

    --
    Regards,
    Tom Ogilvy


    "jgmiddel" wrote:

    >
    > Hi,
    >
    > I'm working with a VBA userform; in the fields are only digits and
    > letters allowed. How do I make this restriction?
    >
    >
    > --
    > jgmiddel
    > ------------------------------------------------------------------------
    > jgmiddel's Profile: http://www.excelforum.com/member.php...o&userid=32714
    > View this thread: http://www.excelforum.com/showthread...hreadid=527207
    >
    >


+ 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