This documentation is archived and is not being maintained.

CommandBarControls Interface

A collection of CommandBarControl objects that represent the command bar controls on a command bar.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public interface CommandBarControls : _IMsoDispObj, 

Use the Controls property to return the CommandBarControls collection.

Use the Add method to add a new command bar control to the CommandBarControls collection.

Use Controls(index), where index is the caption or index number of a control, to return a CommandBarControl, CommandBarButton, CommandBarComboBox, or CommandBarPopup object.