+ Reply to Thread
Results 1 to 3 of 3

Auto filter search VBA

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    72

    Auto filter search VBA

    Hi,

    I need to autofilter (basically search) on 2 criteria's.
    Somehow the second criteria shows me no data whilst data is present!

    Basically I have lists lots of accounts
    441000
    441001
    421000
    431999
    etc etc

    Now i want to see the accounts that begins with 42 (42xxxx)
    Manually you can type 42* and Excel automatically selects the accounts for you.

    In VB the first critieria works but i can get the account 42xxx be shown, its shows blank, whilst there are clearly numbers

    ?

    Please Login or Register  to view this content.
    Last edited by Fean; 02-17-2015 at 12:23 PM. Reason: typo

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,943

    Re: Auto filter search VBA

    If you are using numbers as the account number and not strings that look like numbers, then you need a number filter:

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    05-07-2013
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    72

    Re: Auto filter search VBA

    Quote Originally Posted by Bernie Deitrick View Post
    If you are using numbers as the account number and not strings that look like numbers, then you need a number filter:

    Please Login or Register  to view this content.
    ah that does makes sense actually.. it works!

    Thanks for the reply.

+ 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] Create Auto Filter Using Search box
    By E5254730 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-06-2015, 07:17 AM
  2. Replies: 4
    Last Post: 11-08-2014, 04:57 AM
  3. Replies: 2
    Last Post: 10-07-2013, 04:57 AM
  4. Great Combo Filter/Search form, cant get DATE filter to integrate. HELP
    By fau5tu5 in forum Access Programming / VBA / Macros
    Replies: 4
    Last Post: 05-18-2009, 05:05 PM
  5. [SOLVED] auto filter doesn't return cells containing the custom search wor.
    By annelidae in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-23-2006, 12:25 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