Z
Zippy
I know I can input an autofilter such as:
AutoFilterMode = False
.Range("A1
1").AutoFilter
.Range("A1
1").AutoFilter Field:=2, Criteria1:=">=35", _
Operator:=xlAnd, Criteria2:="<=45"
But how do I get the two criteria to be read from variables whose values are
input by the user such as a Start_date and an End_date?
TIA.
Zippy.
AutoFilterMode = False
.Range("A1
.Range("A1
Operator:=xlAnd, Criteria2:="<=45"
But how do I get the two criteria to be read from variables whose values are
input by the user such as a Start_date and an End_date?
TIA.
Zippy.