+ Reply to Thread
Results 1 to 16 of 16

Reset All Data Validation Lists

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    89460
    MS-Off Ver
    Excel 2007
    Posts
    27

    Question Reset All Data Validation Lists

    I have looked thru and tried several of the other offers of advice and still cannot get this to work. I am new to excel and am not sure if I have set it up correctly. I have my sheet, and inserted a reset button using the insert - Active X controls - button. I have added the macro using this text in it that another member suggested. Help is very much appreciated.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by cat3rn; 12-24-2013 at 01:08 AM. Reason: to comply with the rules

  2. #2
    Registered User
    Join Date
    08-23-2012
    Location
    89460
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Reset All Data Validation Lists

    I have also tried this.

    Please Login or Register  to view this content.
    Last edited by cat3rn; 12-24-2013 at 01:08 AM. Reason: to comply with the rules

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,411

    Re: Reset All Data Validation Lists

    Your reset button (click) doesn't do anything. You need to call the code to reset the DV lists.

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    08-23-2012
    Location
    89460
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Reset All Data Validation Lists

    So should it read like this?

    Please Login or Register  to view this content.
    If you could add it to the above file then re-upload it that would be great.
    Last edited by cat3rn; 12-24-2013 at 01:07 AM. Reason: to comply with the rules

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,411

    Re: Reset All Data Validation Lists

    Yes, that's what it should look like and no, I can't add it to the file and upload. I'm on holiday, away from my computer and using an iPad.

    There's only one line to add and I've written it out for you. How difficult is it going to be to change it yourself?

    And please add code tags to your posts.

  6. #6
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    Re: Reset All Data Validation Lists

    Here is a simple macro to clear the contents in the range of your drop down selections... It bypasses your other code, but does what I believe you are trying to accomplish a lot easier.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-23-2012
    Location
    89460
    MS-Off Ver
    Excel 2007
    Posts
    27

    Red face Re: Reset All Data Validation Lists

    Great thanks. That works very well. Now something additional. Not too much but needed. I uploaded another mini game file. It has 2 more drop down lists that also need to be cleared. They are located at C14:H22 and C25:H30 How do I add these areas to also be cleared?

    Mini Game.xlsm
    Last edited by cat3rn; 12-23-2013 at 10:12 PM. Reason: attachment

  8. #8
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    Re: Reset All Data Validation Lists

    Try this attached file.
    Attached Files Attached Files

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Reset All Data Validation Lists

    Thank you for your understanding in adding the code tags
    Last edited by FDibbins; 12-24-2013 at 01:12 AM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  10. #10
    Registered User
    Join Date
    08-23-2012
    Location
    89460
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Reset All Data Validation Lists

    Sorry problem corrected on all posts

  11. #11
    Registered User
    Join Date
    08-23-2012
    Location
    89460
    MS-Off Ver
    Excel 2007
    Posts
    27

    Smile Re: Reset All Data Validation Lists

    Fixed unless it can be done more simply.

    All I did was copy paste and change the range areas.

    Please Login or Register  to view this content.

  12. #12
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    954

    Re: Reset All Data Validation Lists

    You can actually just use this:
    Please Login or Register  to view this content.

  13. #13
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,411

    Re: Reset All Data Validation Lists

    You don't need to select anything.

    Please Login or Register  to view this content.

    Regards, TMS

  14. #14
    Registered User
    Join Date
    08-23-2012
    Location
    89460
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Reset All Data Validation Lists

    I do much appreciate all of the help and since it is now working wonderfully I consider this SOLVED. Thanks again for the help.

  15. #15
    Registered User
    Join Date
    08-23-2012
    Location
    89460
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Reset All Data Validation Lists

    Ok now for the last step. How do I thank those who assisted me in this endeavor?

    I used the "Add Reputation" and put in some comments. Is there any other way to thank these people?

  16. #16
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,411

    Re: Reset All Data Validation Lists

    http://www.excelforum.com/the-water-...-the-help.html


    You're welcome. Thanks for the rep.


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


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    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


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Reset Button for Data validation lists
    By mcjohn in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-29-2019, 05:28 PM
  2. [SOLVED] How to Reset Dependant Validation Data?
    By coreyjo in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-20-2013, 07:26 PM
  3. [SOLVED] Dependent Drop Down Lists, Data Validation, Reset Dependents
    By daxlyon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-12-2013, 11:15 AM
  4. Dynamic/dependent data validation lists - reset second cell if first cell changed
    By gazza365 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2010, 06:59 PM
  5. Replies: 3
    Last Post: 09-02-2010, 03:04 AM

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