Weird autofilter results
Posted by chrisB on February 08, 2002 9:02 AM
I am trying to autofilter all records that have 0 value in three fields. The code I am using is:
Selection.AutoFilter field:=17, Criteria1:="-", Operator:=xlAnd
Selection.AutoFilter field:=20, Criteria1:="-", Operator:=xlAnd
Selection.AutoFilter field:=21, Criteria1:="-", Operator:=xlAnd
The first filter works, the second and third return no data. When I use 0 as my criteria I get the same results - any ideas??