The information in this article applies to:
SYMPTOMS
In the Microsoft Office Spreadsheet Component, when you type a value between 0 and 60 in a cell, and then format the cell using a date format, you see a different date than you would if you typed the same value in Microsoft Excel. Or, if you type an early date in the Office Spreadsheet Component and then click Export to Excel, the date in Excel may be different by one day.
CAUSE
In the Microsoft Office Spreadsheet Component, the value 0 evaluates to the date December 30, 1899 and the value 1 evaluates to December 31, 1899. This is different from Microsoft Excel. In Excel, the value 0 evaluates to January 0, 1900 and the value 1 evaluates to January 1, 1900.
The date January 0, 1900 does not exist in the Microsoft Office Spreadsheet Component. WORKAROUNDFor additional information about dates in the Microsoft Office Spreadsheet Component, click the article number below to view the article in the Microsoft Knowledge Base: Q210782 OFF2000: Dates Prior to 1900 Allowed in Office Spreadsheet Additional query words: OFF2000 XL2000 OWC webcalc
Keywords : kbdta kbweb |
Last Reviewed: September 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |