CommandBarControl and CommandBarControls Members

Use the CommandBarControls collection to add new controls to a command bar. Use the CommandBar object’s Controls property to get a reference to this collection. Use the CommandBarControl object to set the appearance, caption, and action of a command bar control. The CommandBarControls collection and CommandBarControl object have the following members. Key members (shown in bold) are covered in the following reference section:

1 Collection only

2 Object and collection

Add 1

Application 2

BeginGroup

BuiltIn

Caption

Copy

Count 1

Creator 2

Delete

DescriptionText

Enabled

Execute

Height

HelpContextId

HelpFile

Id

Index

IsPriorityDropped

Item 1

Left

Move

OLEUsage

OnAction

Parameter

Parent 2

Priority

Reset

SetFocus

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.