Document.CustomToolbarsFile Property (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns or sets the name of the file that defines custom toolbars and status bars for a Document object. Read/write.

expression .CustomToolbarsFile

expression A variable that represents a Document object.

Return Value


Note Note

Starting with Visio, the Microsoft Office Fluent user interface (UI) replaces 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.

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