Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel keeps reformatting floating point values to dates (e.g. March 17)

Hello all,


Our Windows project (written in C++) makes heavy use of Excel by
writing values to and reading them from Excel files via C++ wrapped
database calls.

Now the problem is this. If I, for example, type the floating point
value 19.1 into a cell and then read it from the cell, I get garbage
like 'F1' or even a date such as "January 19". Integers work fine, but
floating point values always come out as garbage. It would seem that,
for some reason, Excel insists on reinterpreting our floating point
values regardless of whether the cell is configured as a floating point
number, a string or whatever.. =( To make things worse. Different
computers / different Excel installations yield different results. Is
there a way to stop Excel from messing with our floating point values?
Thanks for any helpful replies!

Regards,

Markus

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
2008 Australian Excel Conference - March 12 - March 14, Sydney, Australia Damon Longworth Excel Discussion (Misc queries) 0 February 26th 08 02:51 AM
2008 Australian Excel Conference - March 12 - March 14, Sydney, Australia Damon Longworth Excel Discussion (Misc queries) 0 February 15th 08 03:04 AM
2008 Australian Excel Conference - March 12 - March 14, Sydney, Australia Damon Longworth Excel Worksheet Functions 0 February 15th 08 03:04 AM
2008 Australian Excel Conference - March 12 - March 14, Sydney, Australia Damon Longworth Excel Discussion (Misc queries) 0 January 11th 08 12:47 AM
2008 Australian Excel Conference - March 12 - March 14, Sydney, Australia Damon Longworth Excel Discussion (Misc queries) 0 November 21st 07 03:22 AM


All times are GMT +1. The time now is 04:36 PM.

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"