+ Reply to Thread
Results 1 to 2 of 2

Populate Combo box 2 based on Selected item in Combo box 1

  1. #1
    Registered User
    Join Date
    05-20-2014
    Posts
    1

    Populate Combo box 2 based on Selected item in Combo box 1

    Hello everyone,

    I am new to Excel Macros.

    I have a problem in populating 2 combo boxes in my excel sheet, where in the later one is dependent on the first combo box.

    The source for these 2 combo boxes exists in another workbook in the same sheet.
    The sample data is as below

    Folder Name Workflow Name
    AUDIT wkf_eval_update
    AUDIT wkf_eval_cf_update
    AUDIT wkf_eval_correct
    EPG wkf_epg_aud_tmplt
    EPG wkf_epg_audit

    I have created two dynamic named ranges namely FolderName (refers to B column which has lot of duplicates) and WorkflowName(refers to C column).

    For the first combobox, the dynamic named range FolderName is the source. So combobox 1 is populated with 2 values AUDIT, EPG.
    Here, my intention is "when i select AUDIT from combobox 1, then combobox 2 should be populated with the 3 values which corresponds AUDIT in the source worksheet.

    Can someone help me with the code / tutorial for resolving this problem?

    Thanks a bunch.

  2. #2
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: Populate Combo box 2 based on Selected item in Combo box 1

    Hi there,

    see this thread:

    HTML Code: 
    Maybe it will help You
    Regards
    Miroslav R.

    (If You like my solutions, feel free to add reputation.)

+ 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. [SOLVED] Excel 2010 VBA – Combo Box Options– Clear cell/box in 2nd Combo when 1st Combo selected
    By theshybutterfly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2013, 07:25 PM
  2. Making The Last Combo Box Item Always The Selected Item
    By abduljaleel.mca in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2013, 10:31 AM
  3. Populate a Combo Box based on the selection of another Combo Box
    By thunder279 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2011, 03:40 PM
  4. Replies: 7
    Last Post: 12-05-2008, 08:36 AM
  5. [SOLVED] combo box not showing selected item..
    By nycdon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2005, 02:05 PM

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