Property Getters/Setters Summary | ||
---|---|---|
function | getIslockedForViewing() | |
Indicates whether this VBA project is locked for viewing. | ||
function | isProtected() | |
Indicates whether this VBA project is protected. | ||
function | isSigned() | |
Indicates whether VBAcode is signed or not. | ||
function | getModules() | |
Gets all |
||
function | getName() | |
function | setName(value) | |
Gets and sets the name of the VBA project. | ||
function | getReferences() | |
Gets all references of VBA project. |
Method Summary | ||
---|---|---|
function | copy(source) | |
Copy VBA project from other file. | ||
function | protect(islockedForViewing, password) | |
Protects or unprotects this VBA project. | ||
function | validatePassword(password) | |
Validates protection password. |
Property Getters/Setters Detail |
---|
getName/setName : String | |
function getName() / function setName(value) |
isSigned : boolean | |
function isSigned() |
isProtected : boolean | |
function isProtected() |
getIslockedForViewing : boolean | |
function getIslockedForViewing() |
getModules : VbaModuleCollection | |
function getModules() |
getReferences : VbaProjectReferenceCollection | |
function getReferences() |
Method Detail |
---|
protect | |
function protect(islockedForViewing, password) |
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.
copy | |
function copy(source) |
source: VbaProject
- validatePassword | |
function validatePassword(password) |
password: String
- the password