Show / Hide Table of Contents

Class ExcelVBAModule

A VBA code module.

Inheritance
object
ExcelVBAModule
Implements
IExcelVBACollectionElement
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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. Can contain function 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

Overrides
object.ToString()

Implements

IExcelVBACollectionElement
In this article
Back to top Generated by DocFX