LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 195
Default Text Dates with 2 Digit Year

try this
i used B27 as my test cell

Dim strDate As String
Dim formdate As Date
formdate = Range("B27").Value
strDate = Format(formdate, "dd -mmm-yyyy")
MsgBox strDate

 
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
Automatically convert Text with 2-digit year juniper810 Excel Discussion (Misc queries) 3 April 24th 23 03:46 AM
Convert dates to 8 digit text HelenONeill Excel Discussion (Misc queries) 4 August 15th 07 01:28 PM
Addendum to 2 digit year to 4 digit year RealGomer Excel Discussion (Misc queries) 2 December 14th 06 05:48 PM
Format 2 digit year to 4 digit RealGomer Excel Discussion (Misc queries) 5 December 14th 06 01:45 PM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM


All times are GMT +1. The time now is 07:20 PM.

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

About Us

"It's about Microsoft Excel"