Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Good afternoon, all
I recorded the following action, to filter my databae to show rows whe the Date field contained a date between 21/10/05 and 20/11/05. Sub Macro7() Selection.AutoFilter Field:=1, Criteria1:="=21/10/2005", Operator:=xlAnd _ , Criteria2:="<=20/11/2005" End Sub As I recorded, the filter operation worked OK, but when I remove the filter, then run the macro again, the database filters out ALL rows so that only the firld headers are displayed. Can anyone suggest why? Thanks in advance pete |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I do statistical work. Recording numbers in notes, | Excel Worksheet Functions | |||
I do statistical work. Recording numbers in notes, | Excel Worksheet Functions | |||
How do I make the Stop Recording bar pop up when recording macros | Excel Worksheet Functions | |||
Macro doesn't work but recording it does. | Excel Discussion (Misc queries) | |||
Macro recording does not work properly | Excel Programming |