Results 1 to 4 of 4

Filter a listbox with a combobox and seach button

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-07-2014
    Posts
    213

    Filter a listbox with a combobox and seach button

    Dear pros,

    I need help with the attached small application please. Open the application and click on the LISTBOX button. I cannot seem to figure out the code for the Filter by Item button or the Filter by Representative button. I would like to select an item from either of those dropdowns in the search box, click on the relevant button and the list box will populate to show the results.

    For example, if I were to select Chocolate Bars from the dropdown and click filter by item, I want to see only the three lines [i.e. line 2, 6 and 7] present in the listbox, and I want to be able to doubleclick on any of those lines to go to the record if I wish.

    Similarly, if I select Robert from the other dropdown and click Filter by Representative, I want to see the relevant three lines [i.e. 4, 5 and 8] relating to Robert, present in the listbox, where I can again double click to go to the record [i.e. the data entry userform related to particular record selected.

    I know it might be a piece of cake for some of you but I spent a very long time trying to figure out this code but with no luck.

    I have attached a file for you to offer your coding magic!

    Thanks for your help!


    THIS HAS BEEN RESOLVED ALL. THANKS
    Attached Files Attached Files
    Last edited by Paul; 08-04-2014 at 01:19 PM. Reason: Highlighted message about thread being resolved.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Populate listbox from command button using combobox
    By SamuelJackson in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 01-29-2014, 11:32 AM
  2. [SOLVED] Filter Combobox base on selection from previous combobox
    By ciapul12 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2013, 07:25 PM
  3. [SOLVED] excel vba filter values to listbox from combobox and save edit values in textbox
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2013, 08:42 AM
  4. Replies: 2
    Last Post: 12-07-2012, 02:10 AM
  5. Combobox - Filter auto-filter worksheets (ActiveX)
    By Darms in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2011, 11:33 AM

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