Show / Hide Table of Contents

Class ExcelVBAModule

A VBA code module.

Inheritance
Object
ExcelVBAModule
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

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
Int32

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
Boolean

ReadOnly

If the module is readonly

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
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
String

The name of the VBA module

Overrides
System.Object.ToString()
In this article
Back to top Generated by DocFX