Menus Collection Object

Description

A collection of all the Menu objects on the specified menu bar. Each Menu object represents a drop-down menu, shortcut menu, or submenu.

Accessors

Use the Add method to add a new menu to a menu bar. The following example adds a menu to the Visual Basic Module menu bar.


MenuBars(xlModule).Menus.Add "&Debug"

Use the Menus method with an argument to access a single member of the collection or without an argument to access the entire collection at once.

Properties

Application Property, Count Property, Creator Property, Parent Property.

Methods

Add Method (Menus Collection), Item Method.