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 | 
|---|---|
| ExcelVbaModuleAttributesCollection | 
Code
The code without any module level attributes.
Declaration
public string Code { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Description
A description of the module
Declaration
public string Description { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
HelpContext
A reference to the helpfile
Declaration
public int HelpContext { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Name
The name of the module
Declaration
public string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Private
If the module is private
Declaration
public bool Private { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
ReadOnly
If the module is readonly
Declaration
public bool ReadOnly { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Type
Type of module
Declaration
public eModuleType Type { get; }
  Property Value
| Type | Description | 
|---|---|
| eModuleType | 
Methods
ToString()
Converts the object to a string
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | The name of the VBA module  | 
      
Overrides
System.Object.ToString()