Project.CommandBars Property
Project Developer Reference |
Returns a CommandBars collection that represents all the command bars in the project. Read-only Object.
Syntax
expression.CommandBars
expression A variable that represents an Project object.
Return Value
[COMMANDBARS]
Remarks
For more information, see the CommandBars object in the Microsoft Office Visual Basic Reference.
Example
This example deletes all custom command bars that aren't visible.
Visual Basic for Applications |
---|
|
See Also