Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
In my project (embedded)it is required to generate the test report in Excel format( Excel 97 and higher). I searched a lot and found some information in BIFF8 format.
If any body have any sample program to generate excel (BIFF8 format) in C, it would give me a great Idea to progress in my project.

Regards
Manish
Posted

There are some different methods to generate Excel files. But most of them may be not usable on embedded platforms.

Creating BIFF files is a complex process due to the used MS Compound file format. There will be no simple sample code.

If your embedded platform supports ODBC, you may use this with the Excel ODBC driver.

There are also some free and commercial libraries to write Excel files. But again, most of them may not work on your embedded platform.

Libaries with available source mainly use C++ (like BasicExcel [^]).

A commercial library that supports plain C is LibXL [^].

As an alternative, you may generate a CSV text file that can be read by Excel.
 
Share this answer
 
Comments
manish_manware 12-Jan-12 7:10am    
Thanks for the solution
computer formated c pograme windose xp
 
Share this answer
 
Comments
Sandeep Mewara 5-May-12 8:04am    
What's this?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900