Gets a count of the numbers of controls on a command bar. Read-only.

Note
The use of CommandBars in some Microsoft Office applications has been superseded by the new Ribbon user interface. For more information, search help for the keyword "Ribbon."

Syntax

expression.Count

expression An expression that returns a CommandBarControls object.

Return Value
Integer

See also: