Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default convert dates stored as text to dates

What is the VB code to convert dates stored as text to excel formatted dates?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default convert dates stored as text to dates

Something like

cdate("12 sep 2004")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"lenko" wrote in message
...
What is the VB code to convert dates stored as text to excel formatted

dates?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default convert dates stored as text to dates

ActiveCell.Value = ActiveCell.Value
ActiveCell.NumberFormat = "mm/dd/yyyy"

--
Regards,
Tom Ogilvy

"lenko" wrote in message
...
What is the VB code to convert dates stored as text to excel formatted

dates?


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
Convert dates stored as text Emece Excel Discussion (Misc queries) 2 May 22nd 10 06:37 AM
Convert text to dates Chris AM Excel Discussion (Misc queries) 4 March 4th 08 03:52 PM
How do I convert dates stored as dates to text? diamunds Excel Discussion (Misc queries) 5 September 7th 07 05:38 PM
Converting numbers stored as dates to text in Excel David from Furdale Excel Discussion (Misc queries) 1 July 17th 06 06:34 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM


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