+ Reply to Thread
Results 1 to 4 of 4

Overlapping Dropdown lists combobox

  1. #1
    Registered User
    Join Date
    09-13-2016
    Location
    The Netherlands, Amsterdam
    MS-Off Ver
    2013
    Posts
    20

    Overlapping Dropdown lists combobox

    Hi everyone,
    Lately I've been working on my vba skills with a combobox. (especially dynamic dropdown lists)
    I think I have a pretty good understanding of what a combobox is capable of but can't figure this out.

    In the attachment you will find my excel workbook.

    Now the problem:
    I've created a dynamic dropdown list and it works great except for one thing, the display of the dropdown list.
    Fruit DropDown 1.png
    This is the entire list. But when you type the list will only display the items that have does characters.
    Fruit DropDown 2.png
    But after the second given character the dropdown list compresses and is only one ListRow heigh.
    Also the previous dropdown list which isn't filtered will show as an after image of sorts.
    Fruit DropDown 3.png

    This is the code I am using:
    Please Login or Register  to view this content.
    Can anybody help me solve this problem?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,001

    Re: Overlapping Dropdown lists combobox

    Try this code:
    Please Login or Register  to view this content.
    Are you planning to use multiple combobox in multiple cells (in range B3:B25)?
    If yes then you may find this type of searchable combobox useful:

  3. #3
    Registered User
    Join Date
    09-13-2016
    Location
    The Netherlands, Amsterdam
    MS-Off Ver
    2013
    Posts
    20

    Re: Overlapping Dropdown lists combobox

    Thanks a lot Akuini.
    I got rid of the Private Sub Combobox1_GotFocus() but the filter works great.

  4. #4
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,001

    Re: Overlapping Dropdown lists combobox

    You're welcome, glad to help, & thanks for the feedback.

+ 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. Multiple Dropdown lists depending ALL on 1st Dropdown choice
    By perihelio in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-04-2019, 02:15 AM
  2. [SOLVED] Dependent DropDown lists in VBA /=INDIRECT() on ActiveX ComboBox/
    By bongo_bg in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-25-2018, 02:03 AM
  3. [SOLVED] ComboBox to populate Listbox and 2nd Combobox based on 1st combobox dropdown choice
    By bbqqsmokeman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2017, 08:21 PM
  4. how to ignore blank cells in creatig dropdown lists (validation lists)
    By Elainefish in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2013, 07:45 AM
  5. [SOLVED] Cascading dropdown lists all tied to first dropdown
    By ruthl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-18-2012, 08:03 PM
  6. Replies: 3
    Last Post: 07-14-2010, 03:36 AM
  7. DropDown Lists
    By germantim in forum Excel General
    Replies: 1
    Last Post: 09-14-2006, 12:22 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