VbaProject.Protect
VbaProject.Protect method
Protects or unprotects this VBA project.
public void Protect(bool islockedForViewing, string password)
Parameter | Type | Description |
---|---|---|
islockedForViewing | Boolean | indicates whether locks project for viewing. |
password | String | 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
- class VbaProject
- namespace Aspose.Cells.Vba
- assembly Aspose.Cells