C
Cimjet
Hi Everyone
This macro does a custom filter on column B which are dates.
I would like to have it done on all Tabs in the workbook and is it possible to
have the two criteria "Start date and end date"
variable with a popup menu
This only works on one sheet.
Sub Filter()
For Each Worksheet In Workbooks
Selection.AutoFilter Field:=2, Criteria1:=">4/1/2011", Operator:=xlAnd, _
Criteria2:="<4/30/2011"
Next
End Sub
Regards
Cimjet
This macro does a custom filter on column B which are dates.
I would like to have it done on all Tabs in the workbook and is it possible to
have the two criteria "Start date and end date"
variable with a popup menu
This only works on one sheet.
Sub Filter()
For Each Worksheet In Workbooks
Selection.AutoFilter Field:=2, Criteria1:=">4/1/2011", Operator:=xlAnd, _
Criteria2:="<4/30/2011"
Next
End Sub
Regards
Cimjet