I just need to plugin a simple logic to my macro and tired trying Need expert help.
I just need to filter on a column where date is less than today's date, thats it.
If I try to record this macro, it doesnt give me an option but to select today's date and the code comes like this:
ActiveSheet.Range("$A$1:$Y$1868").AutoFilter Field:=17, Criteria1:= _
"<3/18/2011", Operator:=xlAnd
Kindly guide me how to change this to achieve true today.
I just need to filter on a column where date is less than today's date, thats it.
If I try to record this macro, it doesnt give me an option but to select today's date and the code comes like this:
ActiveSheet.Range("$A$1:$Y$1868").AutoFilter Field:=17, Criteria1:= _
"<3/18/2011", Operator:=xlAnd
Kindly guide me how to change this to achieve true today.