VbaProject

VbaProject class

Represents the VBA project.

Properties

NameTypeDescription
NameStringGets and sets the name of the VBA project.
IsSignedbooleanIndicates whether VBAcode is signed or not.
IsProtectedbooleanIndicates whether this VBA project is protected.
ModulesVbaModuleCollectionGets all VbaModule objects.
ReferencesVbaProjectReferenceCollectionGets all references of VBA project.

Methods

NameDescription
protectProtects or unprotects this VBA project.

If islockedForViewing is true, the password could not be null. | | validatePassword | Validates protection password. |