View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ashish_Vaidya Ashish_Vaidya is offline
external usenet poster
 
Posts: 3
Default TEXT DATE Format Conversion

When I have a text file that I open in Excel, the field that brings in the
month is in text as "JAN-07" meaning January 2007. All of my period names
are in this format from the oracle output. Just so I can give you a few more
examples:
JAN-06 is supposed to be January 2006,
FEB-05 is supposed to be February 2005, and
DEC-99 is supposed to be December 1999.

I want to change the format of this field to something that will keep this
relationship because Excel automatically assumes that I want:
JAN-06 to be January 06, 2007,
FEB-05 to February 05, 2007, etc......

It uses the current year to complete the date. I am currently using
"[$-409]mmm-yy;@" as the format to change it to:
JAN-06 to be Jan-07,
FEB-05 to be Feb-07, etc....

Will someone please help me?

--
Ashish