CustomMenus property
Gets a UIObject object that represents the current custom menus and accelerators of an Application object or a Document object.
Version added
4.0
Syntax
| |
objRet |
A UIObject object that represents the object's current custom menus. |
object |
Required. An expression that returns the Application or Document object to examine. |
Remarks
Beginning with Visio 2000, if you haven't customized the user interface, the object returned by CustomMenus property contains the same collections as the object returned by the BuiltInMenus property.
In Visio 5.0 or earlier, if the object is not using custom toolbars, the CustomMenus property returns Nothing.