+ Reply to Thread
Results 1 to 5 of 5

Dependent combobox to show values from a table column

  1. #1
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    209

    Dependent combobox to show values from a table column

    hello i have been trying to get a combobox to show items from a table in excel.

    My first combobox has 3 items in it these are the table names

    The second combobox i want it to only show values from the matching table 2nd column

    1st combobox is called cboWOM and 2nd combobox is called cboOpening

    Please Login or Register  to view this content.
    I have tried If varients of code too, but just cant seem to get into the table to show the list.

    thank you for your help

  2. #2
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Dependent combobox to show values from a table column

    Try this:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    209

    Re: Dependent combobox to show values from a table column

    Still showing up blank.

    I have uploaded the file with your code. See if that helps
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Dependent combobox to show values from a table column

    Why you set the ColumnWidths property of cboOpening is '0 pt;49.95 pt'? The list is blank because you set first columnwidth is 0. Clear that property and try again.

  5. #5
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    209

    Re: Dependent combobox to show values from a table column

    Ah yeah sorry i did that with earlier versions of code. forgot to change it back

    Thanks

+ 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. Replies: 13
    Last Post: 10-20-2019, 05:39 AM
  2. [SOLVED] Userform - dependent combobox with unique values
    By Villalobos in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-17-2018, 04:50 PM
  3. [SOLVED] Userform combobox - setting up dependent values
    By adamstarr12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2014, 06:14 PM
  4. Populate combobox dependent on contents of previous combobox
    By ed1967 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-08-2014, 11:40 AM
  5. [SOLVED] Dependent ComboBox values
    By abisson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2012, 06:56 PM
  6. Replies: 3
    Last Post: 09-03-2010, 12:02 AM
  7. Replies: 2
    Last Post: 09-14-2009, 08:34 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