Hi,
I am using the aspose cells for .net the version is:
Runtime version: v2.0.50727
Version: 7.0.2.0
When I am running the below code:
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
Cell cellA1 = worksheet.Cells["A1"];
cellA1.PutValue("MyTestValue");
workbook.Settings.Password = "Punit";
workbook.Save(@"C:\ExcelTest\ProtectSheet.xlsx",SaveFormat.Xlsx); // Error at this line
Error:
am getting the error: NullRefrenceException
Object reference not set to an instance of an object.
Can you also confirm if this is the latest version or provide me the link for latest version as we are very close to finalize the product.
Thanks,
Punit