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

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

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