+ Reply to Thread
Results 1 to 3 of 3

Removing an option from a drop down menu after it is used.

  1. #1
    Registered User
    Join Date
    01-26-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    1

    Removing an option from a drop down menu after it is used.

    I have some randomly generated numbers that I figured out how to lock, From that list I created a drop down menu that lets me pick one of the randomly generated numbers. I use this same drop down multiple times.

    Here is my issue.

    I am making this document for random people's use so it needs to as user friendly as possible and I need the number selected in each of the drop downs to not be a duplicate of a number already used. To complicate the process the numbers can be the same number if it was generated randomly to be the same number.


    Simple example

    10 random generated number between 1 and 10 will be my drop down menu.

    7, 3, 2, 4, 5, 7, 9, 10, 1, 3

    I have 5 drop down select option. So in option 1 you can place any number you like.... Lets use 10 for this example. I want the next drop down menu to then have all the options up there except for 10. So for the second drop down you pick 7(which there are 2 7 options). After selecting 7 in the third option there would still be a 7 option but only 1.




    I hope that explains what I am trying to do... not sure if its possible but it will making explaining the process much more simple for me.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Removing an option from a drop down menu after it is used.

    There is probably a more elegant way, but this works, it goes in a standard module and the macro should be assigned to the dropdown
    Please Login or Register  to view this content.

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Removing an option from a drop down menu after it is used.

    There is probably a more elegant way, but this works, it goes in a standard module and the macro should be assigned to the dropdown
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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