CommandBarButton Members

Use the CommandBarButton object to work with menu items and toolbar buttons. Use the CommandBar object’s Controls collection or FindControl method to get a reference to this object. The CommandBarButton object is derived from the CommandBarControl object and has the following members . Members that are unique from CommandBarControl (shown in bold) are covered in the following reference section:

Application

BeginGroup

BuiltIn

BuiltInFace

Caption

Copy

CopyFace

Creator

Delete

DescriptionText

Enabled

Execute

FaceId

Height

HelpContextId

HelpFile

HyperlinkType

Id

Index

IsPriorityDropped

Left

Mask

Move

OLEUsage

OnAction

Parameter

Parent

PasteFace

Picture

Priority

Reset

SetFocus

ShortcutText

State

Style

Tag

TooltipText

Top

Type

Visible

Width

 

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.