A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

VBA FORMAT(date,"YYYYMMDD") not working in Excel 2003 but works i.



 
 
Thread Tools Display Modes
  #1  
Old September 16th, 2004, 05:39 PM
JV
external usenet poster
 
Posts: n/a
Default VBA FORMAT(date,"YYYYMMDD") not working in Excel 2003 but works i.

I have VB code in Excel Spread sheet that uses Format function to convert
date to yyyymmdd format, it works in Excel 2000 but not in Excel 2003. Any
info on replacement function?
  #2  
Old September 16th, 2004, 05:58 PM
JE McGimpsey
external usenet poster
 
Posts: n/a
Default

What do you mean it's "not working" in Excel 2003?

MsgBox Format(Date, "YYYYMMDD")

produces a message box with the string "20040916" for me.

What do you get?

In article ,
"JV" wrote:

I have VB code in Excel Spread sheet that uses Format function to convert
date to yyyymmdd format, it works in Excel 2000 but not in Excel 2003. Any
info on replacement function?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
After installing Windows XP SP2 , how do I open old Excel 2003 fil Mike D General Discussion 2 September 2nd, 2004 10:21 PM
Ctrl+A macro fix for problem in Excel 2003 David McRitchie General Discussion 4 June 19th, 2004 12:01 PM
Continual Error 1321 Trying to Install Office 2003 Chad Harris General Discussions 9 June 11th, 2004 08:19 AM
Productkey problem when installing office 2003 on network Stefan Schreurs Setup, Installing & Configuration 1 June 1st, 2004 11:16 PM


All times are GMT +1. The time now is 08:17 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.