?thisworkbook.VBComponents(5).Type returns 2
Following an upgrade to XPpro, my immediate window more often than not
returns integer codes such as the above, rather than the corresponding
type constant (vbext_ct_ClassModule in this case)
What have I forgotten to set?
Matthew
|