Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
i have the following: Sheets("sheet1").Select Cells.Select Selection.AutoFilter Selection.AutoFilter Field:=2, Criteria1:="test" i would like to know if there is a way i can filter the sheet without selecting it? thanks in advance, geebee |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You do not need to select the sheet but you do have to pass a range object to
autofilter.. If your headers are in row 1 in sheet 1 then you can use Sheets("sheet1").Range("A1").autoFilter Field:=2, Criteria1:="test" "geebee" wrote: hi, i have the following: Sheets("sheet1").Select Cells.Select Selection.AutoFilter Selection.AutoFilter Field:=2, Criteria1:="test" i would like to know if there is a way i can filter the sheet without selecting it? thanks in advance, geebee |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
DataFilterAuto Filter in excel 2007? | New Users to Excel | |||
Filter PivotTable dropdown items to match report filter | Excel Discussion (Misc queries) | |||
filter: how to print filter list options in dropdown box | Excel Discussion (Misc queries) | |||
Advance filter search does not filter an exact match | Excel Programming | |||
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du | Excel Worksheet Functions |