Type Property

Type Property

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 Example of msoControlButton constant
msoControlButtonDropdown Example of msoControlButtonDropdown constant
msoControlButtonPopup Example of msoControlButtonPopup constant
msoControlComboBox Example of msoControlComboBox constant
msoControlCustom Reserved for future use.
msoControlDropdown Example of msoControlDropdown constant
msoControlEdit Example of msoControlEdit constant
msoControlExpandingGrid Example of msoControlExpandingGrid constant
msoControlGauge Example of msoControlGauge constant
msoControlGenericDropdown Reserved for future use.
msoControlGraphicCombo Example of msoControlGraphicCombo constant
msoControlGraphicDropdown Example of msoControlGraphicDropdown constant
msoControlGraphicPopup Reserved for future use.
msoControlGrid Example of msoControlGrid constant
msoControlLabel Reserved for future use.
msoControlOCXDropDown Example of msoControlOCXDropdown constant
msoControlPane Pane control
msoControlPopup Example of msoControlPopup constant
msoControlSplitButtonMRUPopup Example of msoControlSplitButtonMRUPopup constant
msoControlSplitButtonPopup Example of msoControlSplitButtonPopup constant
msoControlSplitDropdown Example of msoControlSplitDropdown constant
msoControlSplitExpandingGrid Reserved for future use.