Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro which AutoFilters a date column. The spreadsheet is now
being created differently, and the dates are coming up in a different format. Currently, I have If MyTarget = "d" Then Selection.AutoFilter Field:=5, Criteria1:="=20020703", _ Operator:=xlAnd, Criteria2:="<=20030616" End If Is there any way to change these dates to "03-Jul-02" on the fly? Or do I need to go into the macro and redo the date for every If? Ed |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert Date string to date format | Excel Discussion (Misc queries) | |||
change a string of numbers in to number format | Excel Worksheet Functions | |||
Date format in string | Excel Discussion (Misc queries) | |||
Change a date in text format xx.xx.20xx to a recognised date format | Excel Programming | |||
convert a string of into a date format | Excel Programming |