CustomMenusFile property

Microsoft Visio Developer Reference

CustomMenusFile property

       

Gets or sets the name of the file that defines custom menus and accelerators for an Application object or a Document object.

Version added

4.0

Syntax

strRet = object.CustomMenusFile
object.CustomMenusFile = fileStr

strRet

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

object

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

fileStr

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

Remarks

If the object is not using custom menus, the CustomMenusFile property returns Nothing.