+ Reply to Thread
Results 1 to 5 of 5

Combo Box Data Validation?

  1. #1
    Registered User
    Join Date
    06-24-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question Combo Box Data Validation?

    Hi guys,

    I am new here and wondered if someone could help. I have created a UserForm, which is working perfectly, apart from one aspect that I can't figure out how to do.

    I have some Combo Boxes with set data which I have populated using the RowSource section of the Properties box. However, this doesn't seem to prevent my users from typing over these options and inputting data with something that is not on the list.

    How can I stop this happening?

    Thank you in advance!

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Combo Box Data Validation?

    There is a combobox property called MatchRequired. Set it to true.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Registered User
    Join Date
    06-24-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Combo Box Data Validation?

    I knew I was doing something silly wrong!

    Thank you very much.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Combo Box Data Validation?

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Combo Box Data Validation?

    You'd better change the style property to 2-dropdownlist.



+ 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