PC Review


Reply
Thread Tools Rate Thread

20061005 should be a valid date format in Excel

 
 
=?Utf-8?B?dHNjaGltZWs=?=
Guest
Posts: n/a
 
      5th Oct 2006
When we download from our data base the dates are in this format CCYYMMDD.
This is not a valid date within Excel so we can not format it will slashes
when it comes in.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9obm55IE5hcGVydmlsbGU=?=
Guest
Posts: n/a
 
      5th Oct 2006
Tschimek,

You are correct that Excel will not automatecally convert date data from
your database extract directly into dates. However, if you import the date
data as Text, the following formula would convert the text date in Cell A1
into an Excel date: =Date(Left(A1,4),Mid(A1,5,2),Mid(A1,7,2))

John

"tschimek" wrote:

> When we download from our data base the dates are in this format CCYYMMDD.
> This is not a valid date within Excel so we can not format it will slashes
> when it comes in.
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click the "I
> Agree" button in the message pane. If you do not see the button, follow this
> link to open the suggestion in the Microsoft Web-based Newsreader and then
> click "I Agree" in the message pane.
>
> http://www.microsoft.com/office/comm...el.programming

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change date from yyyymmdd to valid date format denilynn Microsoft Excel Misc 4 2nd Sep 2009 07:19 PM
Excel - File format is not Valid Gord Microsoft Excel Misc 0 30th Jul 2008 03:41 PM
Excel file format not valid Boomer820 Windows XP Help 1 19th Mar 2008 11:55 PM
opening mde files - date format not valid kim Microsoft Access 0 17th Nov 2003 07:52 PM
excel 'file format is not valid' dermot moore Microsoft Excel Misc 1 7th Nov 2003 01:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:03 PM.