Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to filter dates in a table based on two input box values...the start date and the end date... The only way I can see to do this is to enter the last day of the months that will be in the report...is there any way to make it so that the user can input specific dates to pull a report for those specific dates? This is what I came up with so far... MYFILTER1 = InputBox _ ("Please enter the first day of the period you would like to generate this report for:", _ "First Date") MYFILTER2 = InputBox _ ("Please enter the last day of the period you would like to generate this report for:", _ "End Date", range("J1")) ActiveSheet.ListObjects("WDT").range.AutoFilter Field:=1, Operator:= _ xlFilterValues, Criteria2:=Array(1, MYFILTER1, 1, MYFILTER2) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
filtering dates in a Pivot Table Report Filter | Excel Discussion (Misc queries) | |||
Pivot Table filtering dates | Excel Discussion (Misc queries) | |||
Filtering by Check Boxes | Excel Discussion (Misc queries) | |||
How do I add input data in the input ranges in drop down boxes. | Excel Discussion (Misc queries) | |||
Mask input in input boxes? | Excel Programming |