Returns a numeric or string value containing the type of object. Read-only.
Return Values
The Type property settings for the Window object are described in the following table:
Constant | Value | Description |
vbext_wt_CodeWindow | 0 | Code window |
vbext_wt_Designer | 1 | Designer |
vbext_wt_Browser | 2 | Object Browser |
vbext_wt_Immediate | 5 | Immediate window |
vbext_wt_ProjectWindow | 6 | Project window |
vbext_wt_PropertyWindow | 7 | Properties window |
vbext_wt_Find | 8 | Find dialog box |
vbext_wt_FindReplace | 9 | Search and Replace dialog box |
vbext_wt_LinkedWindowFrame | 11 | Linked window frame |
vbext_wt_MainWindow | 12 | Main window |
vbext_wt_Watch | 3 | Watch pane |
vbext_wt_Locals | 4 | Locals |
The Type property settings for the VBComponent object are described in the following table:
Constant | Description |
vbext_ct_ClassModule | Class module |
vbext_ct_MSForm | Microsoft Form |
vbext_ct_StdModule | Standard module |
The Type property settings for the Reference object are described in the following table:
Constant | Description |
vbext_rk_TypeLib | Type library |
vbext_rk_Project | Project |