+ Reply to Thread
Results 1 to 16 of 16

Shuffle entries in Dropdown list

  1. #1
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Shuffle entries in Dropdown list

    Good morning guys,
    Is it possible to shuffle entries inside the dropdown list?
    Like everytime i close and then open the excel, the dropdown list will shuffle itself.
    Thank you

    1_zpsuev2kns5.png


    http://www.filedropper.com/final-test_1
    Last edited by shaterroi; 12-16-2015 at 08:18 PM.

  2. #2
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Re: Shuffle entries in Dropdown list

    Help guys?

  3. #3
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Re: Shuffle entries in Dropdown list

    Is there any macro for this sir?

  4. #4
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Re: Shuffle entries in Dropdown list

    Help please sir

  5. #5
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Shuffle entries in Dropdown list

    You need to post the workbook onto this site.

    ViewPic
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  6. #6
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21
    Quote Originally Posted by skywriter View Post
    You need to post the workbook onto this site.

    ViewPic
    I attached it now already sir
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Re: Shuffle entries in Dropdown list

    I really need help on this

  8. #8
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Shuffle entries in Dropdown list

    You really need to have some patience.

    So the following code goes in the sheet module for the questions sheet and the second code goes in a regular module.

    The code will shuffle the order after an item is picked in the drop down.
    So open the drop down make a choice and the next time you open it the order will be different.

    I have attached your sheet with the code installed and working.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by skywriter; 12-17-2015 at 02:04 AM.

  9. #9
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Re: Shuffle entries in Dropdown list

    Quote Originally Posted by skywriter View Post
    You really need to have some patience.

    So the following code goes in the sheet module for the questions sheet and the second code goes in a regular module.

    The code will shuffle the order after an item is picked in the drop down.
    So open the drop down make a choice and the next time you open it the order will be different.

    I have attached your sheet with the code installed and working.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Sorry sir.
    Thank you for the code sir but there is a problem.
    Everytime i chose the correct answer on the first try, it says wrong. But on the second time it says correct.
    You need to keep on clicking the correct answer before it says correct answer.

    Thankyou again sir
    Last edited by shaterroi; 12-17-2015 at 02:20 AM.

  10. #10
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Shuffle entries in Dropdown list

    That's because you have a formula in that column that points to a particular cell on the answer list, you weren't aware of that?

    You need to make an answer list and then perhaps have a formula that checks the choice made in the drop down list.
    Last edited by skywriter; 12-17-2015 at 02:29 AM.

  11. #11
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Re: Shuffle entries in Dropdown list

    Quote Originally Posted by skywriter View Post
    That's because you have a formula in that column that points to a particular cell on the answer list, you weren't aware of that?

    You need to make an answer list and then perhaps have a vlookup formula that checks the choice made in the drop down list.
    Just the first time in running macros sir.
    Any advice sir on how do i do that?

  12. #12
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Shuffle entries in Dropdown list

    Sure let say in cell H2 of the Questions sheet you put the correct answer for the question in B2. Let's for the sake of argument say that the answer is "Dead-Reckoning", which I think it is.
    In cell F2 you would have the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    So in the H column you would put all the right answers and you can then hide that column and protect the sheet so no one can select or unhide that column.
    Last edited by skywriter; 12-17-2015 at 02:40 AM.

  13. #13
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Re: Shuffle entries in Dropdown list

    Quote Originally Posted by skywriter View Post
    Sure let say in cell H2 of the Questions sheet you put the correct answer for the question in B2. Let's for the sake of argument say that the answer is "Dead-Reckoning", which I think it is.
    In cell F2 you would have the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    So in the H column you would put all the right answers and you can then hide that column and protect the sheet so no one can select or unhide that column.
    Thank you so much sir. I got it already

    One more thing sir, is there a way in which i can edit and make the dropdown list large enough?

  14. #14
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Shuffle entries in Dropdown list

    I guess you can't change the font size if that's what you are after.
    See this page.

  15. #15
    Registered User
    Join Date
    12-16-2015
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    21

    Re: Shuffle entries in Dropdown list

    Quote Originally Posted by skywriter View Post
    I guess you can't change the font size if that's what you are after.
    See this page.
    Thank you sir!

  16. #16
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Shuffle entries in Dropdown list

    You're welcome.

    Please click the Thread Tools drop down box above your first post and choose solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 08-18-2015, 12:24 AM
  2. Create dropdown list in Excel that will only list unique entries
    By MissAudrey in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-22-2015, 04:56 PM
  3. [SOLVED] Filter dropdown list that has multiple identical entries.
    By mhlangensiepen in forum Excel General
    Replies: 6
    Last Post: 08-07-2012, 11:01 PM
  4. Excel 2007 : How to shuffle list of words in a column?
    By emil9216 in forum Excel General
    Replies: 5
    Last Post: 10-16-2011, 11:39 AM
  5. Replies: 21
    Last Post: 12-02-2009, 03:27 PM
  6. [SOLVED] how do I randomly shuffle a word list in Excel?
    By Arun Agarwala in forum Excel General
    Replies: 1
    Last Post: 03-30-2006, 01:15 PM
  7. [SOLVED] [SOLVED] How increase # visible entries in dropdown list box so no scroll?
    By sciteecher in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-20-2006, 06:10 AM

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