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

Free Support Forum - aspose.com

Hide sheets or tabs when converting Excel files to HTML with Aspose.Cells for .NET C# API

html.png (45.0 KB)

if you see the below of pic, there is a bunch of tabs that i actually don’t need.
i need only third tab from the left and dont want to show any tabs.
is it possible?



You can export single worksheet to HTML file with below code:

Workbook wb = new Workbook("Sample.xlsx");

HtmlSaveOptions opts = new HtmlSaveOptions();
opts.ExportActiveWorksheetOnly = true;

wb.Worksheets.ActiveSheetIndex = 1;

wb.Save(dirPath + "Sheet.html", opts);

Let us know your feedback.