Documents Property
Returns a Documents collection that represents all open publications. Read-only.
expression.Documents
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example lists all of the open publications.
Dim objDocument As Document
Dim strMsg As String
For Each objDocument In Documents
strMsg = strMsg & objDocument.Name & vbCrLf
Next objDocument
MsgBox Prompt:=strMsg, Title:="Current Documents Open", Buttons:=vbOKOnly