Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Convert number to date
Hi! I am trying to convert a string to a date. however i get Error nr6
"spill". in cell A1 I have a date written like this "20081012" Sub anders() Dim a As Long a = Range("a1").Value b = CDate(a) End Sub I get the error when trying to convert to date, pls hepl |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Convert number to date value | Excel Discussion (Misc queries) | |||
Convert number to date | Excel Discussion (Misc queries) | |||
how do you convert a number into a date | Excel Worksheet Functions | |||
Convert Date to number? | Excel Worksheet Functions | |||
How do I convert Date serial number to date | Excel Worksheet Functions |