Toolbars object (Visio)

Includes a Toolbar object for each toolbar in a window context.


Starting with Visio 2010, the Microsoft Office Fluent user interface (UI) replaced 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 Toolbars collection, use the Toolbars property of a ToolbarSet object.

The default property of a Toolbars collection is Item.

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



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.