+ Reply to Thread
Results 1 to 2 of 2

Apply Filter Based on Mutliple Item Selection in Data Validation List

  1. #1
    Registered User
    Join Date
    12-01-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    17

    Unhappy Apply Filter Based on Mutliple Item Selection in Data Validation List

    Dear All,

    I created a data validation list to select multiple items. These items get accumulated with a comma (like Item1, Item2, etc..) in the adjacent.

    I have written a small VB code to apply autofilter on a data sheet based on these filter criteria. Below is the code.

    Please Login or Register  to view this content.
    This works fine it is a single selection. But does not work with multi-filtering with commas.

    Please shed some light on how I can get around this. Bottomline, I want to autofilter items based on multiple options selected.

    Thanks.

  2. #2
    Forum Guru jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Apply Filter Based on Mutliple Item Selection in Data Validation List

    Hi
    In Excel 2007 you can Filter using an array. See an example of that here http://vbadud.blogspot.com/2010/07/e...-multiple.html
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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