VbaProject
VbaProject class
Represents the VBA project.
Properties
| Name | Type | Description |
|---|---|---|
| Name | String | Gets and sets the name of the VBA project. |
| IsSigned | boolean | Indicates whether VBAcode is signed or not. |
| IsProtected | boolean | Indicates whether this VBA project is protected. |
| Modules | VbaModuleCollection | Gets all VbaModule objects. |
| References | VbaProjectReferenceCollection | Gets all references of VBA project. |
Methods
| Name | Description |
|---|---|
| protect | Protects or unprotects this VBA project. |
If islockedForViewing is true, the password could not be null. | | validatePassword | Validates protection password. |