password property

password property

Represents the password to protect the worksheet.

Remarks

If password is set to null or blank string, you can unprotect the worksheet or workbook without using a password. Otherwise, you must specify the password to unprotect the worksheet or workbook.

Definition:

@property
def password(self):
    ...
@password.setter
def password(self, value):
    ...

See Also