S
Secret Squirrel
I'm using the following code to copy rows automatically based on certain
criteria within the code. How can I set it up so that one of my selected
criterias is always using less than the current date?
This is the code line I'm looking to change:
rng.AutoFilter Field:=15, Criteria1:=">=01/01/2000", Operator:=xlAnd,
Criteria2:="<=07/28/2008" '
Right now I have criteria2 set to <=07/28/2008 but I want this to be less
than todays date. I tried <Today() but that didn't work. How would this work?
criteria within the code. How can I set it up so that one of my selected
criterias is always using less than the current date?
This is the code line I'm looking to change:
rng.AutoFilter Field:=15, Criteria1:=">=01/01/2000", Operator:=xlAnd,
Criteria2:="<=07/28/2008" '
Right now I have criteria2 set to <=07/28/2008 but I want this to be less
than todays date. I tried <Today() but that didn't work. How would this work?