CommandBars Collection (VBA Add-In Object Model)

Contains all of the command bars in a project, including command bars that support shortcut menus.

Remarks

Use the CommandBars collection to enableadd-ins to add command bars and controls, or to add controls to existing, built-in, command bars.