This documentation is archived and is not being maintained.

Application.ClearCustomToolbars Method (Visio)

Restores the built-in Microsoft Visio user interface.

Version Added: Visio 4.0

expression .ClearCustomToolbars

expression A variable that represents an Application object.

Return Value

Nothing

NoteNote

Calling the ClearCustomToolbars method on an object without custom toolbars has no effect.

This example shows how to clear custom toolbars for the ThisDocument and Application objects and restore the built-in Microsoft Visio toolbars.

 
Public Sub ClearCustomToolbars_Example() 
 
 'Tell Visio to use the built-in toolbars. 
 ThisDocument.ClearCustomToolbars 
 Visio.Application.ClearCustomToolbars 
 
End Sub 

Show: