+ Reply to Thread
Results 1 to 2 of 2

How to use AutoFilter in VBA to show only those cell values that are NOT NUMBERS

  1. #1
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,662

    How to use AutoFilter in VBA to show only those cell values that are NOT NUMBERS

    I have a file where i want to filter the worksheet. I want to eventually KEEP all the numbers in a specific column. However, my approach is to show/filter such that ALL non-numeric entries are shown. Then delete all these rows.

    My question is how to use the Autofilter in VBA to show all non-numeric entries in a given column.

    Any ideas?
    Last edited by welchs101; 08-11-2012 at 09:12 AM.

  2. #2
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,662

    Re: How to use AutoFilter in VBA to show only those cell values that are NOT NUMBERS

    did some searching and found this soln at this site



    Please Login or Register  to view this content.
    Criteria1 ("=*") is a text filter for "one or more of any characters" - so it filters non-zero length text entries. Numeric entries are excluded.

    Criteria2 ("=") is a blanks filter so it returns zero-length entries.

+ 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