+ Reply to Thread
Results 1 to 2 of 2

Need custom Filter

  1. #1
    Registered User
    Join Date
    03-05-2009
    Location
    Vail, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    83

    Post Need custom Filter

    Building custom reports using VBA to pull Access (or SQL Server) data and create Excel Worksheets. Office 2007
    example - bold and light data jpg2.jpg Attachment has numbers cut out to protect customer specific data.
    On one column - the Well Name is listed in this format:
    Critter 22-12
    Critter 64-128
    Johnson 2-122
    Johnson 2-233
    Johnson 2-665
    Smith 1-442
    Smith 1-455
    Smith 4-8

    The Auto Filter - list each instance of the above with a check box to turn on / off
    The customers wants the Auto Filter to only list Critter, Johnson and Smith
    More like an Advanced Filter "begins with" - but with the names (not the numbers that follow)

    At first glance, I could ue a Left & Instring, to create a very skinny column with a filter for only the left part of the string (i.e. Critter - and exclude the 22-12).

    Just wondering if the filter has any way to be programmed with VBA?

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Need custom Filter

    Try this demo Workbook

    Also see this link
    Excel Advanced Filter -- Complex Criteria
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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