+ Reply to Thread
Results 1 to 3 of 3

Excel Userform with rule on validation fields

  1. #1
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Excel Userform with rule on validation fields

    Hi all,
    I'm trying to make a userform with 3 combo boxes (that part I can). I'm able to create the list from the combo box at run time. In the first combo box a person can make a choice from a list with various countries. On the second combo box, they can choose from "accepted", "rejected" and "partially rejected". It would be great if when a person chooses "rejected" that he/she has some choices, but they should not be the same as those from "partially rejected". So, when one person choose one from the list, they should see in the 3rd combo box only those that are applicable for the choice made.

    I know that you can do it on the excel sheet with data validation, but no clue where to start in a userform.
    I found this example: http://www.contextures.com/xlDataVal02.html
    but that works only in excel sheet and is the same I'm looking to get into the userform.

    Hope some one can help out.

    Thanks in advance and greetings.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,651

    Re: Excel Userform with rule on validation fields

    Try something like this...

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Excel Userform with rule on validation fields

    Hi AlphaFrog,

    This is working like magic. Thanks a lot for your help. I did not know that it would be that easy now when I look at the code and I more or less understand what it does.

    Thanks a lot and have a nice day ;-)

    Greetings.

+ 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