+ Reply to Thread
Results 1 to 4 of 4

Need help with macro for filtering worksheet data based on combobox control

  1. #1
    Registered User
    Join Date
    08-14-2014
    Location
    delhi, india
    MS-Off Ver
    2013
    Posts
    4

    Need help with macro for filtering worksheet data based on combobox control

    Hi folks,

    I am new to vba coding and struggling with a simple task.

    The requirement is that I have an excel document with two worksheets. One of the worksheet has just got a combo box and the other worksheet has data.

    The data in worksheet contains columns out of which one column is Year.

    I want the data sheet to be filtered based on the year chosen in combo box.

    Will really appreciate if someone could help me.

    Thanks
    Preeti
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Need help with macro for filtering worksheet data based on combobox control

    Someones just asked this, use their post for help.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Need help with macro for filtering worksheet data based on combobox control

    It's impossible to get your range references from JPGs - much better to attach a workbook instead - but try something like:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Registered User
    Join Date
    08-14-2014
    Location
    delhi, india
    MS-Off Ver
    2013
    Posts
    4

    Re: Need help with macro for filtering worksheet data based on combobox control

    Here is the document.

    Really appreciate your help.

    Thanks
    Attached Files Attached Files

+ 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. Populating Combobox based on Combobox selection from EXCEL worksheet
    By JChaney17 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-04-2014, 08:14 AM
  2. [SOLVED] ComboBox, Control, on Worksheet: MatchRequired NOT working
    By cmore in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-19-2013, 05:26 PM
  3. Macro to filter data to search terms selected from ComboBox (Form Control)
    By JasonRay in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2013, 05:08 PM
  4. control worksheet with combobox value
    By emmamaki in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2008, 09:55 AM
  5. [SOLVED] Filtering data from one worksheet based on another
    By SKKB in forum Excel General
    Replies: 2
    Last Post: 04-15-2005, 02:06 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