Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 89
Default date to text formatting

need to convert today's date (10/06/03) into the text format "100603"

i give up, how do ya do it?
thanks in advance
mark


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default date to text formatting

Something like this

=TEXT(A1,"mmddyy")

--

Regards,

Peo Sjoblom


"Mark Kubicki" wrote in message
...
need to convert today's date (10/06/03) into the text format "100603"

i give up, how do ya do it?
thanks in advance
mark




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default date to text formatting

Mark,
Try this.

Sub ChangeMe()
ActiveSheet.Range("B1").Value = Format(ActiveSheet.Range("a1").Value,
"mmddyy")
End Sub


"Mark Kubicki" wrote in message
...
need to convert today's date (10/06/03) into the text format "100603"

i give up, how do ya do it?
thanks in advance
mark




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default date to text formatting

Mark,
Watch the line wrap
Neil
"Neil" wrote in message
...
Mark,
Try this.

Sub ChangeMe()
ActiveSheet.Range("B1").Value = Format(ActiveSheet.Range("a1").Value,
"mmddyy")
End Sub


"Mark Kubicki" wrote in message
...
need to convert today's date (10/06/03) into the text format "100603"

i give up, how do ya do it?
thanks in advance
mark






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
Numeric date to text..formatting question JHB Excel Discussion (Misc queries) 2 October 4th 08 07:46 PM
Is it possible to get Excel to stop formatting text as a date? PeteeWJ Excel Discussion (Misc queries) 2 May 12th 08 06:28 PM
Date formatting from text morlo Excel Discussion (Misc queries) 5 October 22nd 07 03:54 PM
Text & Date Formatting Slashman Excel Worksheet Functions 4 October 5th 06 09:16 PM
Formatting text and date together Brisbane Rob Excel Discussion (Misc queries) 2 December 10th 05 10:00 AM


All times are GMT +1. The time now is 01:44 PM.

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"