Menu.ActionText property (Visio)

Gets or sets the action text for a menu. Read/write.

Syntax

expression. ActionText

expression A variable that represents a Menu object.

Return value

String

Remarks

Action text is a string that describes the action on the Undo, Redo, and Repeat menu items on the Quick Access toolbar.

If the ActionText property is empty and the object's CmdNum property is set to one of the Microsoft Visio built-in command IDs, the item uses the default action text from the built-in Visio user interface.

Note

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.

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.