Class ExcelVBAModule
A VBA code module.
Inheritance
System.Object
ExcelVBAModule
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OfficeOpenXml.VBA
Assembly: EPPlus.dll
Syntax
public class ExcelVBAModule
Properties
Attributes
Module level attributes.
Declaration
public ExcelVbaModuleAttributesCollection Attributes { get; }
Property Value
Type | Description |
---|---|
Excel |
Code
The code without any module level attributes.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System. |
Description
A description of the module
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System. |
HelpContext
A reference to the helpfile
Declaration
public int HelpContext { get; set; }
Property Value
Type | Description |
---|---|
System. |
Name
The name of the module
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
Private
If the module is private
Declaration
public bool Private { get; set; }
Property Value
Type | Description |
---|---|
System. |
ReadOnly
If the module is readonly
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type
Type of module
Declaration
public eModuleType Type { get; }
Property Value
Type | Description |
---|---|
e |
Methods
ToString()
Converts the object to a string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
The name of the VBA module |
Overrides
System.Object.ToString()