Dear Aspose Support,
please use following code to repoduce this issue:
Aspose.Cells.Workbook wb = new Workbook();
wb.Protect(ProtectionType.Windows, “”);
wb.Save(“C:\test1.xlsx”);
The result:
Attachment: NoWindowProtection.PNG
It seems that ProtectionType.Windows has no impact on the workbook.
If I use an excel macro on a new file like following:
Sub test()
ActiveWorkbook.Protect Windows:=True
End Sub
The result (as expected):
Attachement: WindowProtection.PNG
Best regards
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
I was able to replicate this issue using the latest version:
Aspose.Cells
for .NET v7.3.1.2
with your sample code.
We have logged this issue in our database. We will look into it and fix the issue.
Once the issue is fixed or we have some other update for you, we will let you know asap.
This issue has been logged as CELLSNET-41034.
Hi,
We have fixed this issue.
Please download and try this fix: Aspose.Cells for .NET v7.3.1.3 and let us know your feedback.
The issues you have found earlier (filed as CELLSNET-41034) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.