The Type property indicates whether a module is a standard module or a class module.
Setting
The Type property is available only by using Visual Basic and is read-only.
If the module is a standard module, the value of the Type property is acStandardModule or 0. If the module is a class module, the value of the Type property is acClassModule or 1.