MsoControlType enumeration
Office 2013 and later
Specifies the type of the command bar control.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
| Member name | Description | |
|---|---|---|
| msoControlCustom | Custom control. Cannot be created through the object model. | |
| msoControlButton | Command button. | |
| msoControlEdit | Text box. | |
| msoControlDropdown | Drop-down list. | |
| msoControlComboBox | Combo box. | |
| msoControlButtonDropdown | Drop-down button. Cannot be created through the object model. | |
| msoControlSplitDropdown | Split drop-down list. Cannot be created through the object model. | |
| msoControlOCXDropdown | OCX drop-down list. Cannot be created through the object model. | |
| msoControlGenericDropdown | Generic drop-down list. Cannot be created through the object model. | |
| msoControlGraphicDropdown | Graphic drop-down list. Cannot be created through the object model. | |
| msoControlPopup | Pop-up. | |
| msoControlGraphicPopup | Graphic pop-up menu. Cannot be created through the object model. | |
| msoControlButtonPopup | Pop-up button. Cannot be created through the object model. | |
| msoControlSplitButtonPopup | Split button pop-up. Cannot be created through the object model. | |
| msoControlSplitButtonMRUPopup | Most Recently Used (MRU) pop-up. Cannot be created through the object model. | |
| msoControlLabel | Label. Cannot be created through the object model. | |
| msoControlExpandingGrid | Expanding grid. Cannot be created through the object model. | |
| msoControlSplitExpandingGrid | Split expanding grid. Cannot be created through the object model. | |
| msoControlGrid | Grid. Cannot be created through the object model. | |
| msoControlGauge | Gauge control. Cannot be created through the object model. | |
| msoControlGraphicCombo | Graphic combo box. Cannot be created through the object model. | |
| msoControlPane | Pane. Cannot be created through the object model. | |
| msoControlActiveX | ActiveX control. | |
| msoControlSpinner | Spinner. Cannot be created through the object model. | |
| msoControlLabelEx | Extended label. Cannot be created through the object model. | |
| msoControlWorkPane | Work pane. Cannot be created through the object model. | |
| msoControlAutoCompleteCombo | Combo box in which the first matching choice is automatically filled in as the user types. Cannot be created through the object model. |
Used with the Add method of the CommandBarControls object. Only a limited set of the control types can be created via the CommandBars object model: msoControlButton, msoControlEdit, msoControlDropdown, msoControlComboBox, msoControlPopup, and msoControlActiveX. Other control types may exist on built-in or add-in command bars, but cannot be created via the object model.
Show: