K
K1KKKA
Hi hope this is possible.
I would like to run a macro that uses a custom filter to do the
following
a Date is enetered into j18 (start date) and a date entered into k18
(end date)
is it possible to use auto filter to run a custom macro where as the
criterias are
How would i accomplish this,
any help with some code would be useful i tried the following without
much success
Sub daterange()
Selection.AutoFilter Field:=2, Criteria1:=">=Cell(j18)",
Operator:= _
xlAnd, Criteria2:="<Cell(j18)"
End Sub
HYCH
Steve
I would like to run a macro that uses a custom filter to do the
following
a Date is enetered into j18 (start date) and a date entered into k18
(end date)
is it possible to use auto filter to run a custom macro where as the
criterias are
= j18 and < k18
How would i accomplish this,
any help with some code would be useful i tried the following without
much success
Sub daterange()
Selection.AutoFilter Field:=2, Criteria1:=">=Cell(j18)",
Operator:= _
xlAnd, Criteria2:="<Cell(j18)"
End Sub
HYCH
Steve