CustomToolbars property

CustomToolbars property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Gets a UIObject object that represents the current custom toolbars and status bars of an Application object or a Document object.

Version added

4.0

Syntax

        
          objRet = object.CustomToolbars
      

objRet

A UIObject object that represents the object's current custom toolbars.

object

Required. An expression that returns an Application or Document object.

Remarks

Beginning with Visio 2000, if you haven't customized the user interface, the object returned by CustomToolbars property contains the same collections as the object returned by the BuiltInToolbars property.

In Visio 5.0 or earlier, if the object is not using custom toolbars, the CustomToolbars property returns Nothing.