O'Reilly logo

Programming Excel with VBA and .NET by Steve Saunders, Jeff Webb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

 

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required