Class ExcelVBAModule
A VBA code module.
Implements
Inherited Members
Namespace: OfficeOpenXml.VBA
Assembly: EPPlus.dll
Syntax
public class ExcelVBAModule : IExcelVBACollectionElement
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 |
|---|---|
| string |
Description
A description of the module
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HelpContext
A reference to the helpfile
Declaration
public int HelpContext { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Name
The name of the module
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Private
If the module is private
Declaration
public bool Private { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ReadOnly
If the module is readonly
Declaration
public bool ReadOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |
|---|---|
| string | The name of the VBA module |