UIObject.UpdateUI method (Visio)
Causes Microsoft Visio to display changes to the user interface represented by a UIObject object.
Syntax
expression. UpdateUI
expression A variable that represents a UIObject object.
Return value
Nothing
Remarks
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.
The UpdateUI method updates the Visio user interface with changes made to a UIObject object during a session. Use the CustomMenus or CustomToolbars property of an Application object or Document object to obtain the UIObject object.
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.