Class ExcelVbaModuleCollection¶
Namespace: OfficeOpenXml.VBA
Assembly: EPPlus.dll
Collection class for VBA modules
public class ExcelVbaModuleCollection : ExcelVBACollectionBase<ExcelVBAModule>, IEnumerable<ExcelVBAModule>, IEnumerable
Inheritance¶
object ← ExcelVBACollectionBase<ExcelVBAModule> ← ExcelVbaModuleCollection
Implements¶
IEnumerable
IEnumerable<ExcelVBAModule>
Inherited Members¶
ExcelVBACollectionBase<ExcelVBAModule>._list
ExcelVBACollectionBase<ExcelVBAModule>.Count
ExcelVBACollectionBase<ExcelVBAModule>.Exists(string)
ExcelVBACollectionBase<ExcelVBAModule>.GetEnumerator()
ExcelVBACollectionBase<ExcelVBAModule>.Remove(ExcelVBAModule)
ExcelVBACollectionBase<ExcelVBAModule>.RemoveAt(int)
ExcelVBACollectionBase<ExcelVBAModule>.this[int]
ExcelVBACollectionBase<ExcelVBAModule>.this[string]
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Methods¶
AddClass(string, bool)¶
Adds a new VBA class
Parameters¶
Name string
The name of the class
Exposed bool
Private or Public not createble
Returns¶
The class object
AddModule(string)¶
Adds a new VBA Module
Parameters¶
Name string
The name of the module
Returns¶
The module object