Type Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

                          

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 . 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.