Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, I used the Advanced Filter and that did the trick.
"Skinman" wrote: Should read Field 2 not 11 Selection.AutoFilter Field:=2, Criteria1:=Array( _ "GDL", "MTY", "QRO", "SLW"), Operator:=xlFilterValues More than two, you will need to enter as an array :- Selection.AutoFilter Field:=11, Criteria1:=Array( _ "GDL", "MTY", "QRO", "SLW"), Operator:=xlFilterValues "pgarcia" wrote in message ... Shouldn't this work? This is part of a greater VB code. I will post it after this one. Selection.AutoFilter Field:=2, Criteria1:="=GDL", Operator:=xlOr, _ Criteria2:="=MTY", Operator:=xlOr, Criteria3:="=QRO", Operator:=xlOr, _ Criteria4:="=SLW" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel 2007 autofilter change to 2003 autofilter functionality? | Excel Discussion (Misc queries) | |||
2007 excel autofilter back to 2003 autofilter? | Excel Discussion (Misc queries) | |||
2007 excel autofilter change back to 2003 autofilter? | Excel Discussion (Misc queries) | |||
2007 Autofilter worse than 2003 Autofilter | Excel Discussion (Misc queries) | |||
How to Sort within AutoFilter with Protection on (and AutoFilter . | Excel Discussion (Misc queries) |