Share via


CommandBarButton.Width Property

Office Developer Reference

Gets or sets the width (in pixels) of the specified CommandBarButton control. Read/write.

Aa432928.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.Width

expression   A variable that represents a CommandBarButton object.

Return Value
Integer

See Also