CommandBars.Count property (Office)
Gets a count of the number of command bars in the host application. Read-only.
Syntax
expression.Count
expression An expression that returns a CommandBars object.
Return value
Integer
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.