Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default code to convert date from TEXT format (03-02) to DATE format (200203)

Hi there - i'm hoping to get assistance with converting the following date
format to: yyyymm using vba...
the worksheet already contains some macros, so i would like to incorporate
this formatting step into it...

COLUMN A currently contains the following values in TEXT format:

MM-YY
03-02 would like to convert to 200203
TOTAL
04-02 would like to convert to 200204
TOTAL
05-02 would like to convert to 200205
TOTAL
FY-02
TOTAL
06-02 would like to convert to 200206
TOTAL
07-02 would like to convert to 200207
TOTAL
and on in the similar fashion for approx. 1000 entries...

i would like to convert the DATES to the following date format - yyyymm
(example- 200203)

any assistance, AS USUAL, is VERY appreciated!

Tks!
Sandi


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
from date format convert to text format is wrong nooris Excel Discussion (Misc queries) 2 February 4th 10 03:41 PM
How do I convert dd/mm/yy date format to yyddd Julian date format itzy bitzy[_2_] Excel Worksheet Functions 8 December 11th 09 03:20 AM
Convert date from text format to date format Anita Excel Discussion (Misc queries) 3 June 4th 07 11:57 AM
Convert date + time text format to date format Paul Ho Excel Worksheet Functions 2 May 22nd 07 05:47 PM
Help: How do I convert a text date into a real date format japorms Excel Worksheet Functions 4 August 2nd 06 06:36 PM


All times are GMT +1. The time now is 04:27 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"