Excel automation from C++ and big numbers

A

arthur

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top