+ Reply to Thread
Results 1 to 5 of 5

Cascading down down lists

  1. #1
    Registered User
    Join Date
    03-22-2010
    Location
    Ballarat, Australia
    MS-Off Ver
    Excel 2003
    Posts
    31

    Cascading down down lists

    I have created a spreadsheet with a set of three cascading drop down lists vased on the approach outined in http://www.contextures.com/xlDataVal02.html

    I have the following

    1. Concept Area (List 1)
    2. Subject area within each concept area (List 2)
    3. Entity within each subject area (List 3)

    Issue I have is I have VB on the worksheet to handle when a drop down is reset, it clears the next dependant drop down (here is the code)

    Please Login or Register  to view this content.
    However if I reset the value in list 1 I need it to clear list 2 and 3, the above code only clears list 2, not 2 and 3. My workaround was to add an if statement to list 3 data validation source (e.g. =if(B2="","",remainingcode). The problem is this approach seems to cause the whole spreadsheet to freeze and go into a loop when I reset values.

    Here is a link to the spreadsheet, would appreciate any assistance in resolving this. The tab that has the drop downs is called "CascadeSelect", the data supporting the drop down (i.e. named ranges) are in Sheet2
    Attached Files Attached Files
    Last edited by troygeri; 06-07-2011 at 10:48 PM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Cascading down down lists

    troygeri,

    Give this a try:
    Please Login or Register  to view this content.


    Hope that helps,
    ~tigeravatar

  3. #3
    Registered User
    Join Date
    03-22-2010
    Location
    Ballarat, Australia
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Cascading down down lists

    Thanks - I added the code below to the sheet in VB Editor but it doesn't appear to be doing anything, when I change a list value in list 1 or 2 the cells to the right just stay the same, I just wondered whether i have put the code in the correct pleace? If so, not sure why the code doesn't appear to be doing anything

    Thanks so much for your helps so far

    Troy
    Last edited by shg; 06-07-2011 at 08:03 PM. Reason: deleted unnecessary quote

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Cascading down down lists

    Troy,

    I misunderstood your intention the first time. I updated the code. Give this a try:
    Please Login or Register  to view this content.


    Hope this helps,
    ~tigeravatar

  5. #5
    Registered User
    Join Date
    03-22-2010
    Location
    Ballarat, Australia
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Cascading down down lists

    Thanks so much - this code works perfectly.... I really appreciate your help..

+ 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