Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Date question

Have
..Range("I2").Value = Format(Date, "dddd dd mmm yyyy")

Cannot find how to change this to give the full value for the
month, rather than a truncated version.

How is this done, please?

Regards.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default Date question

"Stuart" wrote in message
...
Have
.Range("I2").Value = Format(Date, "dddd dd mmm yyyy")

Cannot find how to change this to give the full value for the
month, rather than a truncated version.


Hi Stuart,

Just add a fourth "m" to the month string.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Date question

Many thanks to you both.

Regards.

"sebastienm" wrote in message
...
To display the full month, use 4 'm': dd ddd mmmm yyyy
--
Regards,
Sébastien



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Date question

Are you sure that you want to set text in the cell?
You'll lose some flexibility
as an alternative

With Range("I2")
.Value = Date
.NumberFormat = "dd mmmm yyyy"
End With

--
Patrick Molloy
Microsoft Excel MVP
---------------------------------
I Feel Great!
---------------------------------
"Stuart" wrote in message
...
Many thanks to you both.

Regards.

"sebastienm" wrote in message
...
To display the full month, use 4 'm': dd ddd mmmm yyyy
--
Regards,
Sébastien



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Date question

Macro Recorder broken again?
--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
Many thanks to you both.

Regards.

"sebastienm" wrote in message
...
To display the full month, use 4 'm': dd ddd mmmm yyyy
--
Regards,
Sébastien



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004




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
Date question M Thompson Excel Discussion (Misc queries) 4 June 8th 09 11:41 AM
Date question?? kk Excel Discussion (Misc queries) 13 March 14th 08 01:53 PM
Date question Jman Excel Worksheet Functions 8 June 1st 07 10:43 AM
Date question [email protected] Excel Worksheet Functions 2 September 2nd 06 10:14 PM
Another Date Question Kdub via OfficeKB.com Excel Discussion (Misc queries) 1 June 30th 05 01:09 AM


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