Documents Property

 

The Documents property returns the Documents collection. This is a read-only property.

 

Syntax

object.Documents

 

Example 1

This example demonstrates how to return the number of open documents.

 

Debug.Print mvApp.Documents.Count

 

Example 2

This example demonstrates how to create a map document.

 

mvApp.Documents.Add(DocType:=mvDocPlot)

 

Used by: Application object