CustomToolbarsFile property

Microsoft Visio Developer Reference

CustomToolbarsFile property

   Example   

Returns or sets the name of the file that defines custom toolbars and status bars for an Application object or a Document object.

Version added

4.0

Syntax

strRet = object.CustomToolbarsFile
object.CustomToolbarsFile = fileStr

strRet

String. The name of the file that defines the current custom toolbars for the object.

object

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

fileStr

Required String. The name of the file that defines new custom toolbars for the object.

Remarks

If the object is not using custom toolbars, the CustomToolbarsFile property returns Nothing.