Hi,
Using Aspose Cells for Java, version 24.11.
Sample code:
Workbook workbook = new Workbook("input.xlsx");
HtmlSaveOptions saveOptions = new HtmlSaveOptions(SaveFormat.HTML);
WorksheetCollection worksheets = workbook.getWorksheets();
Worksheet worksheet = worksheets.get("N.10-N.20");
worksheets.setActiveSheetIndex(worksheet.getIndex());
saveOptions.setExportActiveWorksheetOnly(true);
saveOptions.setExportImagesAsBase64(true);
workbook.save("output.html", saveOptions);
Input workbook and generated HTML:
color.zip (99.0 KB)
As you can see, a large majority of the cells in the saved worksheet are rendered with a black background (which is not present when viewing the sheet with Microsoft Excel), making the appearance of the sheet quite unreadable.
Kind regards,
Taras