Documents Property

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

Syntax

object.Documents

Example 1

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

Debug.Print SurferApp.Documents.Count

Example 2

This example demonstrates how to create a plot document.

SurferApp.Documents.Add(DocType:=srfDocPlot)

Example 3

This script displays all the properties in the Application object.

Used by: Application object