NextDocument

Property

Application.NextDocument (read-only, Document)

Syntax

Application.NextDocument

Remarks

Used in conjunction with FirstDocument to access currently-open documents. Call FirstDocument to get the first document in the list, followed by NextDocument to get successive documents.

Note: The preferred way of doing this is to use the Documents collection.