Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sj
 
Posts: n/a
Default In Excel 2003, entering date without slashes, the date is incorre.

enter date 010305 and the date changes to 3/18/28 very strange and can be
repeated. Is there a fix for this? Running excel 2003, 11.6113.5703
  #2   Report Post  
Jim Rech
 
Posts: n/a
Default

You have to use a date separator for Excel to know what you're entering.
Dates are in reality just serial numbers starting with 1/1/1900 as day 1.
Day 10305 is evidently 3/18/1928.

--
Jim Rech
Excel MVP
"sj" wrote in message
...
| enter date 010305 and the date changes to 3/18/28 very strange and can be
| repeated. Is there a fix for this? Running excel 2003, 11.6113.5703


  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

If you have a need for a lot of such dates, you could try the QDE addin, to
be found at http://www.xldynamic.com/source/xld.QDEDownload.html

--

HTH

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


"sj" wrote in message
...
enter date 010305 and the date changes to 3/18/28 very strange and can be
repeated. Is there a fix for this? Running excel 2003, 11.6113.5703



  #4   Report Post  
sj
 
Posts: n/a
Default

my client says this worked in Office 97 and he formatted the cells to be date
and then just entered numbers like 010505 and it set the formatting
correctly-any other idea?

"sj" wrote:

enter date 010305 and the date changes to 3/18/28 very strange and can be
repeated. Is there a fix for this? Running excel 2003, 11.6113.5703

  #5   Report Post  
Jim Rech
 
Posts: n/a
Default

my client says this worked in Office 97 and he formatted the cells to be
date

and then just entered numbers like 010505 and it set the formatting
correctly-any other idea?

Your client, ah, misremembers I think. Excel 97 and 2003 are the same in
this regard. Cell formatting affects how a value in a cell is displayed,
not how Excel interprets it at entry time. A macro of course can perform
all sorts of transformations so maybe that was involved.

--
Jim Rech
Excel MVP
"sj" wrote in message
...
| my client says this worked in Office 97 and he formatted the cells to be
date
| and then just entered numbers like 010505 and it set the formatting
| correctly-any other idea?
|
| "sj" wrote:
|
| enter date 010305 and the date changes to 3/18/28 very strange and can
be
| repeated. Is there a fix for this? Running excel 2003, 11.6113.5703




  #6   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

sj,

It couldn't have. Dates worked the same in Excel97 as in more recent
versions. It's seeing 010305 as the number 10,305, which is the date-serial
number for the date 3/18/28. You must use some kind of date separator for
it to see it as 01/03/05. Consider the add-in that Bob suggested. It will
allow entry as you want, and will convert it to the intended date.

--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"sj" wrote in message
...
my client says this worked in Office 97 and he formatted the cells to be
date
and then just entered numbers like 010505 and it set the formatting
correctly-any other idea?

"sj" wrote:

enter date 010305 and the date changes to 3/18/28 very strange and can be
repeated. Is there a fix for this? Running excel 2003, 11.6113.5703



  #7   Report Post  
Don Guillett
 
Posts: n/a
Default

try
right click sheet tabview codecopy/paste thisSAVE

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.row < 2 Or Target.Column < 1 Then Exit Sub
Application.EnableEvents = False
x = Target
Target = Left(x, 2) & "/" & Mid(x, 3, 2) & "/" & Right(x, 2)
Application.EnableEvents = True
End Sub

--
Don Guillett
SalesAid Software

"sj" wrote in message
...
my client says this worked in Office 97 and he formatted the cells to be

date
and then just entered numbers like 010505 and it set the formatting
correctly-any other idea?

"sj" wrote:

enter date 010305 and the date changes to 3/18/28 very strange and can

be
repeated. Is there a fix for this? Running excel 2003, 11.6113.5703



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
can a workbook with macros created in excel 2003 work in excel 20. Steve Venti Excel Discussion (Misc queries) 2 December 27th 04 02:31 PM
Excel 2000 file when opened in Excel 2003 generates errors? Doug Excel Discussion (Misc queries) 13 December 25th 04 10:20 PM
Excel 2003 "File Open": how keep folders at top with sort by Date. Aging Analyst Excel Discussion (Misc queries) 1 December 3rd 04 03:26 AM
Stock Quotes in Excel 2003 David B. Excel Discussion (Misc queries) 0 December 1st 04 08:41 PM


All times are GMT +1. The time now is 10:13 AM.

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"