Save as HMTL

Can the Apose.Excel save the generated excel file as HTML ?
Pls help

Hi,

Currently Aspose.Excel doesn’t support to export html file. We are thinking of this feature but it may take several months.

Any update on this request? We’d love to be able to write one set of code and be able to dynamically choose between generating a XLS or a HTML file.

Also reading about the future possibility of XLS -> PDF sounds great also, that would nearly fill all our desires if we could do XLS, HTML and PDF all from nearly the same codebase.

Thanks,
Michael

Hi Michael,

HTML export is really a complex feature. Our planed date for this feature is some day in October. Thanks for your patience.

@michaelr,
Aspose.Excel is discontinued now and no more development is done in this regard. A new product Aspose.Cells is released which supports all the features provided by Aspose.Excel as well as the latest features provided by MS Excel. This new product provides feature to save the Excel file as HTML with the following sample code:

/ /Load sample source file
Workbook workbook = new Workbook(sourceDir + “Book1.xlsx”);

HtmlSaveOptions options = new HtmlSaveOptions();
options.ExportHeadings = true;

// Save the workbook
workbook.Save(outputDir + "PrintHeadings_out.html", options);

Here is a detailed section where working with HTML is explained:
HTML

Download the latest product version for trials here:
Aspose.Cells for .NET (Latest Version)

Get a runnable solution where hundreds of example are present here.