Hello,
I am trying to write a program which will add a number of my choice to every interger inside a Excel file. My question is how do I read an excel file? Is it the same thing like reading a txt file?
Thanks for your help,
Daniel
Hello,
I am trying to write a program which will add a number of my choice to every interger inside a Excel file. My question is how do I read an excel file? Is it the same thing like reading a txt file?
Thanks for your help,
Daniel
C++ Homepage: http://darkeldar77.tripod.com/cpp.html
If it's a csv, then it can be accessed as a text file...if it's a proper xls file, you need to use COM
As I understand it:
COM is used when you copy something from Excel, and paste it into Word, etc. COM has been around awhile, so maybe Microsoft is using / pushing something else by now. (?)
It's way more complicated than copying text. There are whole books on using COM. Although, maybe it's not that hard to read/write a number from a cell. (?)