CommandBars Property

Applies To

Application object.

Description

Returns a CommandBars collection that represents all the command bars in PowerPoint. Read-only.

Example

This example enlarges all command bar buttons and enables ToolTips.

With Application.CommandBars
    .LargeButtons = True
    .DisplayTooltips = True
End With
This example displays the Formatting command bar at the top of the application window.

With Application.CommandBars("Formatting")
    .Visible = True
    .Position = msoBarTop
End With