Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How does one in VBA code convert a date with format yyyymmdd (eg today's
date = 20110505) to a date recognized by Excel. I tried ConvertedDate = Application.Worksheetfunction.Date(Left(InputDate, 4),Mid(Inputdate,5,2),Right(InputDate,2)) but that does not work. It would be easy enough in the spreadsheet, but in VBA? Thanks Laurence |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
need to convert microsoft date to yyyymmdd | Excel Discussion (Misc queries) | |||
how do I convert date format yyyymmdd to mm/dd/yyyy | Excel Worksheet Functions | |||
How do I change date yyyymmdd to a Excel-supported date format? | Excel Worksheet Functions | |||
convert date (YYYYMMDD) to weeknumber | Excel Worksheet Functions | |||
yyyymmdd date format | Excel Programming |