Hi friends,
Can any one help me out,I want to use a variable where it is going to be used for autofilter.
ActiveSheet.Range("$A$1:$S$277").AutoFilter Field:=1,
Criteria1:=">=StartDate", Operator:=xlAnd, Criteria2:="<=EndDate"
Where StartDate and EndDate would be assigned date values to filter between
those dates. I am using variable name instead of the value of the variable.
Variables are dim as variants.
Bookmarks