Documents object (Visio)

Includes a Document object for each open document in a Microsoft Visio instance.


To retrieve a Documents collection, use the Documents property of an Application object.

The default property of a Documents collection is Item.

If your Visual Studio solution includes the Microsoft.Office.Interop.Visio reference, this collection maps to the following types:

  • Microsoft.Office.Interop.Visio.IVDocuments.GetEnumerator() (to enumerate the Document objects)
  • Microsoft.Office.Interop.Visio.IVDocuments (to access the collection)




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.