Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, In Autofilter, how to handle between the date format in cells and input date format(for criteria)? For example, date format in cells is d/m/yy but the input date format is dd-mmm-yyyy. Thx -- gabch ------------------------------------------------------------------------ gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662 View this thread: http://www.excelforum.com/showthread...hreadid=512183 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Gabch,
Try something like: Range("A1").AutoFilter Field:=1, _ Criteria1:="" & CLng(Range("E1").Value) or Range("A1").AutoFilter Field:=1, _ Criteria1:="" & CLng(DateValue("01/12/1944")) --- Regards, Norman "gabch" wrote in message ... Hi, In Autofilter, how to handle between the date format in cells and input date format(for criteria)? For example, date format in cells is d/m/yy but the input date format is dd-mmm-yyyy. Thx -- gabch ------------------------------------------------------------------------ gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662 View this thread: http://www.excelforum.com/showthread...hreadid=512183 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic autofilter field | Excel Discussion (Misc queries) | |||
New date based on one date field minus minutes in another field | Excel Discussion (Misc queries) | |||
Linked date field in worksheet defaults a blank field as 1/0/1900 | Excel Worksheet Functions | |||
Selection.AutoFilter Field:=1 | Excel Programming | |||
Search Using Autofilter - Field | Excel Programming |