CommandBars.ActiveMenuBar Property
Office Developer Reference |
Gets a CommandBar object that represents the active menu bar in the container application. Read-only.
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.ActiveMenuBar
expression A variable that represents a CommandBars object.
Example
This example adds a temporary pop-up control named "Custom" to the end of the active menu bar, and adds a control named "Import" to the pop-up control.
Visual Basic for Applications |
---|
|
See Also