I am using Aspose.Cells version 8.6.3.0
I am getting Object reference not set to an instance of an object on the ff sample code :private void SaveFile (Workbook book)
{
String lPath = "C:\book.xls";
book.Save(lPath, SaveFormat.Auto);
}
or I have tried,
book.Save(lPath, SaveFormat.Excel97To2003);
or I have tried,
book.Save(lPath,new XlsSaveOptions(SaveFormat.Excel97To2003));
BUT successful when saving to xlsx and xlsm with SaveFormat.Auto