Free Support Forum - aspose.com

Read-Only Password on Excel Files

We are having an issue with opening existing Excel workbooks and saving them. On the existing workbook we set the file to have a modify password when it is opened. After opening the file with Aspose.Cells and then saving it, the resulting workbook has the modify password removed from the file.

We are using Aspose.Cells version 4.4.1.16 (VB.NET).

Our previous version 4.4.0.21 did not have this issue.

Matthew Little
Software Developer
Advanced Call Center Technologies, LLC

Hi,

Thanks for reporting,

We found the issue, the issue is only concerned if you try to open an existing encrypted file (If you try to create a password protected file from the scratch, it will work) and then try to modify the password using Workbook.Password property, the resulting file does not open into MS Excel with the modified password as I it will be opened with the original password.

We will figure out the issue soon.

Thank you.

Hi,

Please try this fix.

In the old version, we lost setting of the write protection.