Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello Lizz45ie, Add 2 InputBoxes to your macro code to ask for the starting and ending dates, like this... Starting = InputBox("Enter Starting Date as m/d/yyyy") Ending = InputBox("Enter Ending Date as m/d/yyyy") Selection.AutoFilter Field:=37, Criteria1:= Starting, Operator:=xlAnd _ , Criteria2:= Ending Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=479917 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro filter based on date criteria | Excel Discussion (Misc queries) | |||
Formula in excel using date criteria | Excel Discussion (Misc queries) | |||
Reg autofiltering using macro in excel with out providing criteria | Excel Worksheet Functions | |||
how to use lookup a value by date for criteria in Excel sheet | Excel Worksheet Functions | |||
Excel VBA to search all macro code in Excel module for specific string criteria | Excel Programming |