Page 1 of 1

File encryption/Password protection

Posted: Thu Nov 18, 2021 3:16 pm
by MichaelD
I'm using XLSReadWrtie 5 (5.10.03)

I want to save the XLS as an encrypted, password-protected file (Excel File Open Password).
I've read that it should be possible, but haven't found any hint.

When using the XLS.password property bfeore WRITE it seems simply - but won't take any effect.

Please can you give me any hint (or sniplet) how to password protect the file?
Thanks in advance!

Re: File encryption/Password protection

Posted: Sat Nov 20, 2021 8:57 am
by larsa
Hello

Version 5 don't support encryption, it's only supported in version 6.

The Password property is only for protected worksheets, it's not used for encryption.