Microsoft Office Suite
drop down width
Returns or sets the width (in pixels) of the list for the specified command bar combo box
Note An error occurs if you attempt to set this property for a built-in control.
If this property is set to -1, the width of the list is based on the length of the longest item in the
combo box list. If this property is set to 0, the width of the list is based on the width of the
Returns or sets the index number of the selected item in the list portion of the command bar
combo box control. If nothing is selected in the list, this property returns zero. Read/write.
Note This property fails when applied to controls other than list controls.
Setting the list index property causes the specified control to select the given item and execute
the appropriate action in the application.
Class: command bar control
command bar controls
Represents a command bar control. The properties and commands of the command bar control
object are all shared by the command bar button, command bar combobox, and command bar
Note To write scripts to work with custom command bar controls, use the command bar button,
command bar combobox, and command bar popup classes. To write scripts to work with built-in
controls in the container application that cannot be represented by one of those three classes, use the
command bar control class.
Use command bar control index, where index is the index number of a control, to return a command
bar control object. (The control type property of the control must be control label, expanding grid,
split expanding grid, control grid, or control gauge.)
Note Variables declared as command bar control can be assigned command bar button, command
bar combobox, and command bar popup values.
True if the specified command bar control appears at the beginning of a group of controls on
the command bar. Read/write.
True if the specified command bar or command bar control is a built-in command bar or
control of the container application. False if it's a custom command bar or control, or if it's a
built-in control whose on action property has been set. Read-only.