Menus Object (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Includes a Menu object for each menu in a Microsoft Visio menu set.

Note Note

Starting with Visio, the Microsoft Office Fluent user interface (UI) replaces the previous system of layered menus, toolbars, and task panes. VBA objects and members that you used to customize the user interface in previous versions of Visio are still available in Visio, but they function differently.

To retrieve a Menus collection, use the Menus property of a MenuSet object.

The default property of a Menus collection is Item.

Unlike other Visio collections, the Menus collection is indexed starting with zero (0) rather than 1.