Set a reference to the VBA Extensibility library, and the search
the Object Browser for vbext_componenttype. You'll see that there
are 5 types: vbext_ct_ActiveXDesigner (=11), vbext_ct_ClassModule
(=2), vbext_ct_Document (=100), vbext_ct_MSForm (=3), and
vbext_ct_StdModule (=1).