Share via


CommandBars.Count Property

Office Developer Reference

Gets a count of the number of command bars in the host application. Read-only.

Aa433602.vs_note(en-us,office.12).gif  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 CommandBars object.

Return Value
Integer

See Also