We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Document Conversion : HTML to Excel (xls- csv)


On the topic of "document conversion."
am interested in Aspose.Word and Aspose.Cells for one reason. I need
an easy way to run a service to perform document conversion. Since MS
Office automation should not be used as a service I am drawn to
Aspose.Word and Aspose.Cells.

Very simply, I have HTML document(s) that I need to convert to ,(.doc),(.rtf),(.pdf),(.csv), and (.xls).

know RTF and PDF are suppose to be supported for Aspose.Word (Java)
later this year. However, is there any possibility that Aspose.Cells
will support opening HTML files and saving them as (.xls) or (.csv) in
the near future? (As MS Office Excel has the ability to open HTML and
save as (.xls).)



Thanks for your inquiry.

Well, currently, we are doing some other important tasks regarding Excel 2007 file formats and after finishing them, we may start developing this feature.We will soon update you (regarding schedule) for the feature.

Thank you.


Thank you for considering Aspose.

Please try the attached latest version of Aspose.Cells. We have supported the feature to import the HTML files.

Thank You & Best Regards,

Hi Aslam,
Could you please attach a sample program which does this in Java ? i.e create an excel file using equivalent html ?



Thanks for your posting and considering Aspose.Cells for Java.

Please see the following code. I have attached the source and output file generated by this code.


String filePath = “F:\Shak-Data-RW\Downloads\source.htm”;

LoadOptions opts = new LoadOptions(LoadFormat.HTML);

Workbook wb = new Workbook(filePath, opts);//open test file

wb.save(filePath + “.out.xlsx”);