CommandBars Property

Applies To

Application object, Document object, Global object.

Description

Returns a CommandBars collection that represents the menu bar and all the toolbars in Word. Read-only.

See Also

ListCommands method.

Example

This example enlarges all command bar buttons and enables ToolTips.

With CommandBars
    .LargeButtons = True
    .DisplayTooltips = True
End With
This example displays the Drawing toolbar at the bottom of the application window.

With CommandBars("Drawing")
    .Visible = True
    .Position = msoBarBottom
End With