Class ExcelVbaProtection¶
Namespace: OfficeOpenXml.VBA
Assembly: EPPlus.dll
Vba security properties
Inheritance¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
HostProtected¶
If access to the VBA project was restricted by the VBA host application
Property Value¶
UserProtected¶
If access to the VBA project was restricted by the user
Property Value¶
VbeProtected¶
If access to the VBA project was restricted by the VBA project editor
Property Value¶
VisibilityState¶
if the VBA project is visible.
Property Value¶
Methods¶
SetPassword(string)¶
Password protect the VBA project. An empty string or null will remove the password protection
Parameters¶
Password string
The password