CommandBarComboBox.Reset Method
Resets a built-in command bar to its default configuration, or resets a built-in CommandBarComboBox control to its original function and face.
Note
|
|---|
| The use of CommandBars in some Microsoft Office applications has been superseded by the new Ribbon user interface. For more information, search help for the keyword "Ribbon." |
Syntax
expression.Reset
expression A variable that represents a CommandBarComboBox object.
Remarks
Resetting a built-in control restores the actions originally intended for the control and resets each of the control's properties back to its original state. Resetting a built-in command bar removes custom controls and restores built-in controls.
Example
This example customizes a command bar combo box. First, the combo box is reset to its default state. Then two line items are added to the combo box and various properties are set.
| Visual Basic for Applications |
|---|
|
Note