See Also Example Applies To Specifics
DocumentProperty object: Returns or sets the document property type. Can be one of the following MsoDocProperties constants: msoPropertyTypeBoolean, msoPropertyTypeDate, msoPropertyTypeFloat, msoPropertyTypeNumber, or msoPropertyTypeString. Read-only for built-in document properties; read/write for custom document properties.
CommandBar object: Returns the type of command bar. Can be one of the following MsoBarType constants: msoBarTypeNormal, msoBarTypeMenuBar, or msoBarTypePopup. Read-only Long.
CommandBarControl object: Returns the type of command bar control. Read-only Long.
Can be one of the MsoControlType constants listed in the following table.
| Constant | Control type |
|---|---|
| msoControlActiveX | ActiveX control |
| msoControlButton | |
| msoControlButtonDropdown | |
| msoControlButtonPopup | |
| msoControlComboBox | |
| msoControlCustom | Reserved for future use. |
| msoControlDropdown | |
| msoControlEdit | |
| msoControlExpandingGrid | |
| msoControlGauge | |
| msoControlGenericDropdown | Reserved for future use. |
| msoControlGraphicCombo | |
| msoControlGraphicDropdown | |
| msoControlGraphicPopup | Reserved for future use. |
| msoControlGrid | |
| msoControlLabel | Reserved for future use. |
| msoControlOCXDropDown | |
| msoControlPane | Pane control |
| msoControlPopup | |
| msoControlSplitButtonMRUPopup | |
| msoControlSplitButtonPopup | |
| msoControlSplitDropdown | |
| msoControlSplitExpandingGrid | Reserved for future use. |