protect method
protect
Protects or unprotects this VBA project.
def protect(self, islocked_for_viewing, password):
...
Parameter | Type | Description |
---|---|---|
islocked_for_viewing | bool | indicates whether locks project for viewing. |
password | str | If the value is null, unprotects this VBA project, otherwise projects the this VBA project. |
Remarks
If islockedForViewing is true, the password could not be null.
See Also
- module
aspose.cells.vba
- class
VbaProject