+ Reply to Thread
Results 1 to 3 of 3

VBA filter with userform comboboxes

  1. #1
    Registered User
    Join Date
    03-11-2014
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    3

    VBA filter with userform comboboxes

    Hi, I'm new to VBA and got this task to do.

    I have a table, columns A to G with nearly 100 rows on eash.
    What I'm trying to do is by choosing from combobox1 in a UserForm,
    combobox1 will give alternatives from columnA ("W19" or "W20") to choose from, combobox2 will give alternatives from columnB (ex, "I" , "II" or "III" depending on if they are matching the choise from combobox1), and combobox3 will give alternatives from columnC (ex, "ASD" , "ZXC", "FGH" or "QWE" depending on if they are matching the choise from combobox2).

    when these alternatives are chosen I would like all results (entire rows) that have these criterias, to be copied and pasted to sheet(results)

    see attachment to understand :)

    anyone who can help me? thankful for answers :)
    Attached Files Attached Files
    Last edited by koffer; 03-19-2014 at 04:13 PM.

  2. #2
    Registered User
    Join Date
    03-11-2014
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: VBA filter with userform comboboxes

    Quote Originally Posted by koffer View Post
    Hi, I'm new to VBA and got this task to do.

    I have a table, columns A to G with nearly 100 rows on eash.
    What I'm trying to do is by choosing from combobox1 in a UserForm,
    combobox1 will give alternatives from columnA ("W19" or "W20") to choose from, combobox2 will give alternatives from columnB (ex, "I" , "II" or "III" depending on if they are matching the choise from combobox1), and combobox3 will give alternatives from columnC (ex, "ASD" , "ZXC", "FGH" or "QWE" depending on if they are matching the choise from combobox2).

    when these alternatives are chosen I would like all results (entire rows) that have these criterias, to be copied and pasted to sheet(results)

    see attachment to understand

    anyone who can help me? thankful for answers


    I made a new attachment for better understanding!
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-11-2014
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: VBA filter with userform comboboxes

    nevermind, got it to work.

+ 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] Filter worksheet data using 4 dependant comboboxes and populate in 'ListBox' on a userform
    By p_nayak268 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-27-2014, 12:41 PM
  2. [SOLVED] Userform choice generates another Userform with various Comboboxes
    By bobby.bobby in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2013, 04:58 AM
  3. Userform ComboBoxes
    By Toonies in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-21-2011, 01:52 AM
  4. Userform with ComboBoxes
    By Staci in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-09-2011, 03:57 AM
  5. How to use ComboBoxes in UserForm
    By franciz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2007, 09:29 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