B
bigsmokey
I have a macro that I've made that needs to autofilter a column of dat
based on the current date/time so I'm trying to use the NOW () functio
in my macro. This is the criteria line in my macro
Selection.AutoFilter Field:=3, Criteria1:="<=" & NOW, Operator:=xlAnd
It errors out saying "expected variable or function".
Anyone have any ideas?
Thanks
based on the current date/time so I'm trying to use the NOW () functio
in my macro. This is the criteria line in my macro
Selection.AutoFilter Field:=3, Criteria1:="<=" & NOW, Operator:=xlAnd
It errors out saying "expected variable or function".
Anyone have any ideas?
Thanks