I saw programs exporting to Excel in two different ways.
- Opening Excel and entering a data cell by cell (during its operation, it looks like a working macro)
- Creating an Excel file on disk and writing data to a file (for example, the function of export to MS Access)
Number 1 is terribly slow, and for me it's just merciless.
Number 2 is what I need to do. I guess I need some kind of SDK so that I can create Excel files in C ++.
- Do I need different SDKs for .xls and .xlsx?
- Where can I get them? (I tried Googling, but the SDKs I found look like they are doing other things than providing an interface for creating Excel files).
- When it comes to runtime, does MS Office require a PC to create Excel files, or do you get a redistributable DLL that you can deploy with your executable?
source share