Filter problems
Posted by Paul Magruder on June 05, 2001 4:50 AM
I am using a Inputbox to input the date, that is used to filter my data. The problem is somtimes the filter does not reconize the date entered,and excel hangs up, even though I have formated them the same. I am using a macro to turn on the filters and run the InputBox.
whatdate = InputBox("Todays date? ex: type ->2/15")
Selection.AutoFilter Field:=22, Criteria1:=whatdate
The formula I am using to bring in the date for the data is =today()-1 (to reference the previous Days Data)..... Excel 97....WIndows NT...
Thanks in advance
Paul