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

Free Support Forum - aspose.com

Open html/mhtml files

Is there planed any support for opening html/mhtml files like Excel can do?


What I really want to do is to convert a Word document (created with Aspose words) to Excel. Saving to the mhtml format is a hack we use right now, but when the file is opened in Excel there is a warning, also the files get very large since html is an uncompressed format. Would be great if we were able to convert the file on the server.

Hi,

We have logged your feature request into our issue tracking system with an id: CELLSNET-21710 We might look into the feature in the future versions. Once we have any update, we will let you know about it.

Thank you.

@Frebben,

Aspose.Cells supported the feature, i.e., read, write and render HTML/MHTML file format with enhancements. We recommend to use latest version here:
https://downloads.aspose.com/cells/net
See the sample code on how to read an MHTML file and save it to XLSX for your reference:
e.g
Sample code:

 var workbook = new Workbook("e:\\test2\\myfile1.mht", new LoadOptions(LoadFormat.MHtml));
            workbook.Save("e:\\test2\\out1.xlsx");

See the up-to-date Docs for your complete reference:
https://docs.aspose.com/display/cellsnet/Home

You may download the featured Examples @ Github repos. here: