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

Free Support Forum - aspose.com

Xls to html help

I need to convert a Excel document to HTML file. In Aspose.Word it is simple, just 2 lines of code;



Document doc = new Document(@“C:\test.doc”);

doc.Save(@“C:\test.html”);



Is this possible in Aspose.Cells too? If not, when will this functionality be added to it.



Thanks…

Hi,

Yes, the feature is available, please check the following lines of code for your requirement.

Sample code:

Workbook book = new Workbook();
book.Open(@"f:\test\test1.xls");
book.Save("f:\\test\\test2.html",FileFormatType.Html);

Thank you.