Share via


CommandBars.LargeButtons Property

Office Developer Reference

Is True if the toolbar buttons displayed are larger than normal size. Read/write.

Aa432291.vs_note(en-us,office.12).gif  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.LargeButtons

expression   A variable that represents a CommandBars object.

Example
This example switches the display size of toolbar buttons on all command bars.

Visual Basic for Applications
  Set allBars = CommandBars
If allBars.LargeButtons Then
    allBars.LargeButtons = False 
Else
    allBars.LargeButtons = True 
End If

See Also