
**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class VbaModuleType extends System.Enum
```

Specifies the type of a module in a VBA project.
## Fields

| Field | Description |
| --- | --- |
| [ClassModule](#ClassModule) | A module that contains the definition for a new object. |
| [DesignerModule](#DesignerModule) | A module that extends the methods and properties of an ActiveX control that has been registered with the project. |
| [DocumentModule](#DocumentModule) | A type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document. |
| [ProceduralModule](#ProceduralModule) | A module containing collection of subroutines and functions. |
### ClassModule {#ClassModule}
```
public static final int ClassModule
```


A 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.

### DesignerModule {#DesignerModule}
```
public static final int DesignerModule
```


A module that extends the methods and properties of an ActiveX control that has been registered with the project.

### DocumentModule {#DocumentModule}
```
public static final int DocumentModule
```


A type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document.

### ProceduralModule {#ProceduralModule}
```
public static final int ProceduralModule
```


A module containing collection of subroutines and functions.

