Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Custom Dates (VBA)

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.


  #2   Report Post  
Posted to microsoft.public.excel.programming
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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Cell Formatting Using % With Dates Jason McDonald Excel Worksheet Functions 2 March 10th 10 04:13 PM
Custom auto filter (Dates) Rum Excel Worksheet Functions 2 July 6th 09 08:56 PM
Dates - Custom - Pos Pay Format Melissa Excel Worksheet Functions 3 July 22nd 08 05:46 PM
Custom Formatting for Dates nastech Excel Discussion (Misc queries) 7 November 14th 05 09:23 AM
CUSTOM FILL USING DATES Jerry Kinder New Users to Excel 2 May 15th 05 10:13 PM


All times are GMT +1. The time now is 03:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"