Show / Hide Table of Contents

Class ExcelVbaModuleCollection

Collection class for VBA modules

Inheritance
System.Object
ExcelVBACollectionBase<ExcelVBAModule>
ExcelVbaModuleCollection
Implements
System.Collections.Generic.IEnumerable<ExcelVBAModule>
System.Collections.IEnumerable
Inherited Members
ExcelVBACollectionBase<ExcelVBAModule>._list
ExcelVBACollectionBase<ExcelVBAModule>.GetEnumerator()
ExcelVBACollectionBase<ExcelVBAModule>.IEnumerable.GetEnumerator()
ExcelVBACollectionBase<ExcelVBAModule>.Item[String]
ExcelVBACollectionBase<ExcelVBAModule>.Item[Int32]
ExcelVBACollectionBase<ExcelVBAModule>.Count
ExcelVBACollectionBase<ExcelVBAModule>.Exists(String)
ExcelVBACollectionBase<ExcelVBAModule>.Remove(ExcelVBAModule)
ExcelVBACollectionBase<ExcelVBAModule>.RemoveAt(Int32)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.VBA
Assembly: EPPlus.dll
Syntax
public class ExcelVbaModuleCollection : ExcelVBACollectionBase<ExcelVBAModule>, IEnumerable<ExcelVBAModule>, IEnumerable

Methods

AddClass(String, Boolean)

Adds a new VBA class

Declaration
public ExcelVBAModule AddClass(string Name, bool Exposed)
Parameters
Type Name Description
System.String Name

The name of the class

System.Boolean Exposed

Private or Public not createble

Returns
Type Description
ExcelVBAModule

The class object

AddModule(String)

Adds a new VBA Module

Declaration
public ExcelVBAModule AddModule(string Name)
Parameters
Type Name Description
System.String Name

The name of the module

Returns
Type Description
ExcelVBAModule

The module object

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
In This Article
Back to top Generated by DocFX