VbaModuleType

VbaModuleType enumeration

Specifies the type of a module in a VBA project.

Members

Member nameDescription
DOCUMENT_MODULEA type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document.
PROCEDURAL_MODULEA module containing collection of subroutines and functions.
CLASS_MODULEA 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.
DESIGNER_MODULEA module that extends the methods and properties of an ActiveX control that has been registered with the project.

See Also