Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading excel file

Status
Not open for further replies.

Scilli

Technical User
Apr 4, 2006
8
IT
Hi,
I have to read an Excel file (suppose its name is C:\pippo.xls) with Visual C++, but I don't know how to do this. For example if I have to read the item in the second column and the third row of pippo.xls what code I could write?
Thanks
 
Can you convert the file to CSV format? It would make life simpler.

Alternatively you have to look at the Office API libraries which may or may not come with your version of Visual Studio. I've seen them in the Help but I've never used them.
 
[edit]
but as xwb suggests .xls files are much easier to work with
but as xwb suggests .csv files are much easier to work with
[/edit]

If somethings hard to do, its not worth doing - Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top