Documents Property

Home Page (Objects)OverviewFAQReference

Applies to: Application object

Gets the Documents object.

Syntax

object.Documents

Parameters

object

An expression that evaluates to an Application object. When you access the Documents property of the Application object, you can omit object because the name of the Application object is implied when you access its properties and methods.

Remarks

The Documents property has the Documents type.

The Documents object represents the collection of open documents. Each document in the collection is represented by a Document object.

Example

The following example gets the Documents object:

Dim Docs
Set Docs = Application.Documents