LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Cell.Text different from Cell.Value when dates are concerned...

A company I work for is using Excel to export and import data into other
parts of the program. User A will export data into an Excel file and give it
to User B who then imports that Excel file into their database. Since there
are several Memo/Text fields in the data, the entire export is done doing
automation writing each field's value cell by cell.

Recently, we have discovered that in Excel 2007, although the Cell's Text
field say 1/1/1900, when we query the Value property of that cell it reads as
12/31/1899 12:00:00 am. I could understand the date-time portion of this, but
why does Excel subtract an entire day from the date specified in the Text?
(Please note that the export simply sets the Cell's Text property without any
further consideration to formatting to simulate the way in which a user would
type into the Cell)

I'm thinking this is a definite bug in Excel, but do not know how to report
it to Microsoft. I also find it hard to believe that I would be the first
person to discover this issue, so any help would be greatly appreciated....
 
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
combining dates and text in a cell Cecilia Excel Worksheet Functions 1 March 19th 10 06:22 PM
Macro takes a while to run - should I be concerned? MJKelly Excel Programming 6 September 19th 08 07:48 PM
select text in cell based on text from another cell, paste the text at the begining of a thrid cell, etc... jsd219 Excel Programming 0 October 19th 06 05:04 PM
Text and dates into one cell without loosing date format Hazeltine Excel Discussion (Misc queries) 2 April 25th 06 07:05 PM
Text AND dates in the same cell simsjr Excel Programming 2 September 15th 04 10:47 PM


All times are GMT +1. The time now is 11:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"