I have to create an excel file programatically. Is there is any API to create an excel file or some other ways? EDIT on 7th Nov 2011 I tried example Create an
You could try http://jexcelapi.sourceforge.net/ (see this tutorial for some help), or Apache POI for writing to or reading from Excel files.