Class ExcelVbaModuleCollection
Collection class for VBA modules
Inherited Members
      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>, IEnumerableMethods
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