asposecells.api

Class VbaProject

Represents the VBA project.

Property Getters/Setters Summary
methodgetIslockedForViewing()
Inidicates whether this VBA project is locked for viewing.
methodisProtected()
Inidicates whether this VBA project is protected.
methodisSigned()
Indicates whether VBAcode is signed or not.
methodgetModules()
Gets all VbaModule objects.
methodgetName()
method
setName(value)
           Gets and sets the name of the VBA project.
methodgetReferences()
Gets all references of VBA project.
 
Method Summary
methodprotect(islockedForViewing, password)
Protects or unprotects this VBA project.
 

    • Property Getters/Setters Detail

      • getName/setName : String 

        String getName() / setName(value)
        
        Gets and sets the name of the VBA project.
      • isSigned : boolean 

        boolean isSigned()
        
        Indicates whether VBAcode is signed or not.
      • isProtected : boolean 

        boolean isProtected()
        
        Inidicates whether this VBA project is protected.
      • getIslockedForViewing : boolean 

        boolean getIslockedForViewing()
        
        Inidicates whether this VBA project is locked for viewing.
    • Method Detail

      • protect

         protect(islockedForViewing, password)
        Protects or unprotects this VBA project. If islockedForViewing is true, the password could not be null.
        Parameters:
        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.