+ Reply to Thread
Results 1 to 11 of 11

resetting conditional drop down lists

  1. #1
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    resetting conditional drop down lists

    Hello,

    I have made a large number of validation drop down lists. The first entry on most of these lists is conditional and the conditions are different for each list. I always want the first entry displayed initially.

    I need to develop a macro to reset all the lists when working on a new project. How do I reset it to the first item on the list without going into the long process of making if statement macros to assign values to each drop down list.

    Thanks for your help!

  2. #2
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    Re: resetting conditional drop down lists

    any help would be highly appreciated

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: resetting conditional drop down lists

    Perhaps if you uploaded a sample workbook showing what you want to happen, you might get more offers to help.

    Go Advanced....paperclip.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    Re: resetting conditional drop down lists

    Sorry but I can't upload a sample, confidential data.

    All I want to do is to be able to reset a drop down list to the first entry in the list. How can I do this?

    Thank you

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: resetting conditional drop down lists

    1) Desensitizing a workbook takes about 2 minutes...

    2) VBA is the only way to accomplish this. You'll need a macro that watches each range of cells specifically. With no sample workbook I can offer nothing specific.

    For a generic example:

    http://www.contextures.com/excelfiles.html
    (see DV0019 - Default to First Value)

  6. #6
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    Re: resetting conditional drop down lists

    Validation List Sample.xls

    I tried to upload a sample showing what I mean.

    I want the refresh button at the button to be able to display the first entries in the two drop down lists.

    Thanks agains

  7. #7
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    Re: resetting conditional drop down lists

    Please note that the N/A in the second list is conditional.

    This is the tricky part. I would prefer not to use if statements in my reset macro because there are a lot of lists in this format.

  8. #8
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    Re: resetting conditional drop down lists

    Bump, Please help with this question

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: resetting conditional drop down lists

    This should do it:
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    Re: resetting conditional drop down lists

    That worked well, thank you for the help

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: resetting conditional drop down lists

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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