I have an XLSX document that is protected with password
I open it using this:
Dim lOpt As New Aspose.Cells.LoadOptions lOpt.Password = "xxxxxxxxxx" Using aWb As New Aspose.Cells.Workbook(filePath, lOpt) Dim sopt As New Aspose.Cells.OoxmlSaveOptions(Aspose.Cells.SaveFormat.Xlsx) aWb.Unprotect("xxxxxxxxxx") aWb.Save("c:\test.xlsx", sopt) End Using
Problem is that the output file c:\test.xlsx is still password protected…
How to I unprotect it and save without password.
Thanks in advance