Viewer.OnDocumentUnloaded event (Visio Viewer)

Occurs after the current document in Microsoft Visio Viewer is unloaded.

Syntax

expression.OnDocumentUnloaded

expression An expression that returns a Viewer object.

Remarks

You can unload the current document in Visio Viewer programmatically by using the Unload method.

Example

Private Sub vsoViewer_OnDocumentUnloaded()

    Debug.Print "Current document unloaded."

End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.