In the project in which I work, the client at the last moment asked that I add functionality to import data from an Excel spreadsheet. The examples that he sent me have the extension .xlsx, so I assume they are from Excel 2010, but I would like to support all versions, if possible. Is there a quick and easy way to open and read data from an Excel spreadsheet from C program?
The only idea I can think of is to connect to the spreadsheet as if it were a database, and SELECT the information I need. Is this a good approach? How to connect to Excel spreadsheet via C? I would like to use the Windows API as much as possible.
source
share