+ Reply to Thread
Results 1 to 2 of 2

How to add a criteria for blank cells for the auto filter

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    46

    How to add a criteria for blank cells for the auto filter

    [Range("A1").AutoFilter Field:=23, Criteria1:="Overdue", Operator:=xlOr, Criteria2:="In Progress"]

    The code above perfroms my autofilter which works, by filtering for the cells that have the words "overdue" or "in progress" in their cells for column W. how do i add a new criteria for the cells which are also black and make it an xor with the other two criterias?

    Thanks.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: How to add a criteria for blank cells for the auto filter

    From memory I do not think you could use the "OR" more than once, instead, you could use array, like

    Please Login or Register  to view this content.

+ 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