+ Reply to Thread
Results 1 to 2 of 2

Filter values that are not

  1. #1
    Registered User
    Join Date
    06-26-2013
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    1

    Red face Filter values that are not

    Hi,

    Is there a way to code so that the filter does not include certain values?

    This is my code at the moment, but I want the filter exclude values in a column (so not the values below):


    ActiveSheet.Range("$A$1:$S$1018").AutoFilter Field:=3, Criteria1:=Array( _
    "BABC", "BCBHS", "BCBP", "BCBS", "BCLB"), Operator:=xlFilterValues
    ActiveSheet.Range("$A$1:$S$1018").AutoFilter Field:=8, Criteria1:="<>*g*", _
    Operator:=xlAnd

    Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Filter values that are not

    Hi..


    I just worked on a similar issue today and posted it here.. it might help you..

    http://www.mrexcel.com/forum/excel-q...ml#post3507188
    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)

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