Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can any one tell me why the code below only seems to run on the active
worksheet? also is there any way to unfilter all 4 worksheets without making them active? Sub FilterData() ' ' ' Application.ScreenUpdating = False Module4.Disable_Events With ActiveWorkbook.Worksheets("Relief Board") Range("A6:K3000").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _ Range("A1:K2"), Unique:=False Range("C6").Select End With With ActiveWorkbook.Worksheets("Fixed Route Operators") Range("A6:K3000").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _ Range("A1:K2"), Unique:=False Range("C6").Select End With With ActiveWorkbook.Worksheets("Paratransit Operators") Range("A6:K3000").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _ Range("A1:K2"), Unique:=False Range("C6").Select End With With ActiveWorkbook.Worksheets("Dispatchers, PSC's and CSR's") Range("A6:K3000").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _ Range("A1:K2"), Unique:=False Range("C6").Select End With Module4.Enable_Events Application.ScreenUpdating = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Filtering of data in a master excel sheet from multiple sheets | Excel Discussion (Misc queries) | |||
Filtering protected sheets (again). | Excel Programming | |||
Filtering for multiple sheets | Excel Discussion (Misc queries) | |||
Macro For Filtering on Multiple Sheets | Excel Programming | |||
Filtering on Formulas (makes messy sheets) | Excel Programming |