I'm trying to filter a worksheet and here's what I have so far:
Worksheet("Sheet1").Range("A1:O1").AutoFilter Field:=12,
Criteria1:=Array("<34", "<>21", "<>22"),
Operator:=xlAnd
Field[12]
in the resulting rows must be:
- Less than 34
- Not 21 or 22
The problem is that <>22
seems to be overriding <34
and <>21
. So is it possible to have the filter honor all of my criteria?