Table of Contents

Class ExcelVbaModuleCollection

Namespace
OfficeOpenXml.VBA
Assembly
EPPlus.dll

Collection class for VBA modules

public class ExcelVbaModuleCollection : ExcelVBACollectionBase<ExcelVBAModule>, IEnumerable<ExcelVBAModule>, IEnumerable
Inheritance
ExcelVbaModuleCollection
Implements
Inherited Members

Methods

AddClass(string, bool)

Adds a new VBA class

public ExcelVBAModule AddClass(string Name, bool Exposed)

Parameters

Name string

The name of the class

Exposed bool

Private or Public not createble

Returns

ExcelVBAModule

The class object

AddModule(string)

Adds a new VBA Module

public ExcelVBAModule AddModule(string Name)

Parameters

Name string

The name of the module

Returns

ExcelVBAModule

The module object