Free Support Forum - aspose.com

Export HTML formatted Text to Excel Cell

Aspose has been wonderful for me. But now am stuck with how to export HTML formatted text to excel cells.i Have content in html editor i want to export to excel.

Hi,

Well, I think you may use Cell.HtmlString attribute, it can get/set Formattings in HTML tags if it suits your needs. You may use the property to retrieve cell's formatting string in HTML and use it for your purpose.

Also, Aspose.Cells can import HTML file and you may load the file and save to Excel file format, you may also export an Excel file to save to XLS/XLSX.

Note: Aspose.Cells is mainly a spreadsheet management library used to create, manipulate or convert Excel file formats (e.g. XLS, XLSX, CSV, SpreadsheetML, ODS, Tab Delimited), so it may not support HTML tags and only support Excel oriented HTML file format that MS Excel supports.


Thank you.