CommandBars Property 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

This example adds the Versions command button to the Standard toolbar.

CustomizationContext = NormalTemplate
CommandBars("Standard").Controls.Add Type:=msoControlButton, _
    ID:=2522, Before:=4