Table of Contents

Class ExcelVBAModule

Namespace
OfficeOpenXml.VBA
Assembly
EPPlus.dll

A VBA code module.

public class ExcelVBAModule
Inheritance
ExcelVBAModule
Inherited Members

Properties

Attributes

Module level attributes.

public ExcelVbaModuleAttributesCollection Attributes { get; }

Property Value

ExcelVbaModuleAttributesCollection

Code

The code without any module level attributes. Can contain function level attributes.

public string Code { get; set; }

Property Value

string

Description

A description of the module

public string Description { get; set; }

Property Value

string

HelpContext

A reference to the helpfile

public int HelpContext { get; set; }

Property Value

int

Name

The name of the module

public string Name { get; set; }

Property Value

string

Private

If the module is private

public bool Private { get; set; }

Property Value

bool

ReadOnly

If the module is readonly

public bool ReadOnly { get; set; }

Property Value

bool

Type

Type of module

public eModuleType Type { get; }

Property Value

eModuleType

Methods

ToString()

Converts the object to a string

public override string ToString()

Returns

string

The name of the VBA module