+ Reply to Thread
Results 1 to 4 of 4

create a dynamic dependent list in excel vba

  1. #1
    Registered User
    Join Date
    05-14-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    94

    create a dynamic dependent list in excel vba

    Hi again dear forum :-)
    As you may remember, I´m using internet and youtube to learn VBA.
    I learned how to create dependent comboboxes
    Please Login or Register  to view this content.
    But it´s static, and now I´m trying to create a dynamic. I coudn´t found any info about that, so I came up vith this
    Please Login or Register  to view this content.
    which unfortunatrly not working
    Pease help me solve this

    Your halp will *** always be appreciated
    Regards
    Peter
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: create a dynamic dependent list in excel vba

    Hi Peter,

    Try changing your Named Ranges to dynamic.

    For example: change your named range for "yrke" to

    Please Login or Register  to view this content.
    The OFFSET and COUNTA functions will cause the Named Range to grow with your list.

    Hope this is helpful.

    Cheers

  3. #3
    Registered User
    Join Date
    05-14-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    94

    Re: create a dynamic dependent list in excel vba

    thanks southward for your suggestion, but I solved it eventually with the following code
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: create a dynamic dependent list in excel vba

    You are welcome.

+ 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. dynamic CONDITIONAL dependent list
    By tigfur in forum Excel General
    Replies: 11
    Last Post: 03-28-2016, 02:43 PM
  2. dynamic dependent validation list
    By ComeOnBee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2015, 04:58 AM
  3. Multiple Column Dynamic Dependent List
    By wsublet86 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2014, 03:25 PM
  4. Create a dependent drop down list with dynamic list
    By JSmith1504 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2014, 09:15 AM
  5. [SOLVED] Dynamic dependent data validation list
    By Masun in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-03-2014, 10:34 AM
  6. Create dynamic dependent drop down menus
    By benji912 in forum Excel General
    Replies: 5
    Last Post: 03-11-2013, 08:19 PM

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