Hi,
Thanks for providing us the template files.
After an initial test, I observed the issue as you mentioned. I found an extra column in the HTML output of Excel document in Excel to HTML conversion via Aspose.Cells APIs. If I manually save the Excel file to HTML in MS Excel, it does not generate the extra column entry as you have pointed out. I used the following sample code with your template Excel file:
e.g Sample code: License license = new License(); license.setLicense(“Aspose.Cells.lic”); Workbook wb = new Workbook(“book2.xls”); Worksheet sheet = wb.getWorksheets().get(“Sheet1”); wb.getWorksheets().setActiveSheetIndex(sheet.getIndex()); // export the worksheet HtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.HTML); options.setExportActiveWorksheetOnly(true); //options.setExportBogusRowData(false); wb.save(“f:\files\out1Book2.htm”, options); Source problematic area in the exported HTML:
-----------> extra column inserted.
I have logged a ticket with an id “CELLSJAVA-41471” for your issue. We will look into it soon.
Once we have any update on it, we will let you know here.
Thank you.