Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a date in 01/01/2004 form and want to convert that value to January 2004 form as a string. Is there a function in VBA that will let me do this?
Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
try format(variable,"MMMM YYYY") -- Regards Frank Kabel Frankfurt, Germany Sworkhard wrote: I have a date in 01/01/2004 form and want to convert that value to January 2004 form as a string. Is there a function in VBA that will let me do this? Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
sub test() mystring="01/01/2004" mydate=format(mystring,"mmmm dd yyyy" debug.print mydate end sub -- John johnf 202 at hotmail dot com "Sworkhard" wrote in message ... | I have a date in 01/01/2004 form and want to convert that value to January 2004 form as a string. Is there a function in VBA that will let me do this? | | Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting string to number | New Users to Excel | |||
Converting a date to a text field w/o converting it to a julian da | Excel Worksheet Functions | |||
converting number to string | Excel Programming | |||
Converting a string date into a Excel Date | Excel Programming | |||
Converting a range to string | Excel Programming |