Enum VbaModuleType

VbaModuleType enumeration

Specifies the type of a module in a VBA project.

public enum VbaModuleType

Values

NameValueDescription
DocumentModule0A type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document.
ProceduralModule1A module containing collection of subroutines and functions.
ClassModule2A module that contains the definition for a new object. Each instance of a class creates a new object, and procedures that are defined in the module become properties and methods of the object.
DesignerModule3A module that extends the methods and properties of an ActiveX control that has been registered with the project.

See Also