ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel automation from C++ and big numbers (https://www.excelbanter.com/excel-programming/337641-excel-automation-c-big-numbers.html)

arthur

Excel automation from C++ and big numbers
 
Hi,

I'm trying to obtain a list of strings with 10 - 12 digits from an
excel sheet and the values returned by Range::GetValue are wrong. For
example, instead of 9998887776, the returned value is 1408953184; it
seems Excel treats the string as a number, and it gives only the last 4
bytes from that number.
Is there a way to extract the correct values, as strings?

Thanks,
Arthur



All times are GMT +1. The time now is 11:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com