MenuItems Object (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

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

Contains a MenuItem object for each command on a Microsoft Visio menu.

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 MenuItems collection, use the MenuItems property of a Menu object or a MenuItem object.

The default property of a MenuItems collection is Item.

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

Show: