Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
filters
I am trying to filter with three criteria. is this too
much criteria? with 2 criteria it works, with three it does not. here is the code with 3 criteria which are defined earlier Selection.AutoFilter Field:=3, Criteria1:="<" & Filter1, Operator:=xlAnd, _ Criteria2:="<" & Filter2, Operator:=xlAnd, Criteria3:="<" & Filter3 thank you! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
filters
When you do a custom autofilter manually you see there is a limit of 2
conditions. That same limit applies when you do the autofilter by a macro. -- Jim Rech Excel MVP "jrh" wrote in message ... |I am trying to filter with three criteria. is this too | much criteria? with 2 criteria it works, with three it | does not. | | here is the code with 3 criteria which are defined earlier | | Selection.AutoFilter Field:=3, Criteria1:="<" & | Filter1, Operator:=xlAnd, _ | Criteria2:="<" & Filter2, Operator:=xlAnd, | Criteria3:="<" & Filter3 | | thank you! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I use "OR" in two auto-filters/custom filters? | Excel Discussion (Misc queries) | |||
Filters | Excel Discussion (Misc queries) | |||
Pivot Table filters, especially DATE filters | Excel Worksheet Functions | |||
How to copy with filters but not copy the filters in the middle? | Excel Discussion (Misc queries) | |||
Filters, Subtotal & Intacted Results after the filters' Removal | Excel Discussion (Misc queries) |