View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Custom Dates (VBA)

mydate=Format(date,"mmm yy")

--
Regards
Frank Kabel
Frankfurt, Germany


Bill Agee wrote:
I am trying to convert a date, 4/10/2004, to just Apr 04.

Is there a way to do this with the Format command?

I tried

mydate=Format(mm/dd/yyyy,"mmm yy")

but this doesn't work.