[VBA] Convert a String to Date
Solved
yacleouf
Posted messages
461
Status
Membre
-
yacleouf Posted messages 461 Status Membre -
yacleouf Posted messages 461 Status Membre -
Hello,
I suppose it's not something complicated, but I must admit I'm stuck...
Let me explain, I have a string input like "dec2013", "jan2013", etc...
and I would like to retrieve the date (first of the month) in the format DD/MM/YYYY.
I tried format(myDate, "DD/MM/YYYY"), but it didn’t work... when I hover over it, the string still contains a string...
I hope I've been clear? :-)
Configuration: VGN-cs21S, Windows 7 Professional 64bits
--
Google is your friend!
I suppose it's not something complicated, but I must admit I'm stuck...
Let me explain, I have a string input like "dec2013", "jan2013", etc...
and I would like to retrieve the date (first of the month) in the format DD/MM/YYYY.
I tried format(myDate, "DD/MM/YYYY"), but it didn’t work... when I hover over it, the string still contains a string...
I hope I've been clear? :-)
Configuration: VGN-cs21S, Windows 7 Professional 64bits
--
Google is your friend!