Hi,
Alternatively, it would be better you use the overloaded version of the method, check the description of the method, i.e…,
Workbook.Save(string fileName, bool isWhole, string title)
///
/// Export the workbook to Html file.
///
/// Text file name.
/// Indicates whether export the whole workbook or only the active sheet.
/// The title of the html page.
Here is my example code which works fine.
Aspose.Cells.License license = new Aspose.Cells.License();
license.SetLicense(“Aspose.Cells.lic”);
Workbook
workbook = new Workbook();
workbook.Open(“e:\test\Book1.xls”);
//Suppose the
workbook has three sheets in it.
//If you want to render
only first worksheet as a standalone html file.
workbook.Worksheets.ActiveSheetIndex = 0;
workbook.Save(“e:\test\mysheetfile.html”, false, “MyTitle”);
Thank you.