Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Documents interface

A collection of all the Document objects that are currently open in Word.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
public interface Documents : IEnumerable

Use the Documents property to return the Documents collection.

Use the Add method to create a new empty document and add it to the Documents collection.

Use the Open method to open a file.

Use Documents(index), where index is the document name or index number to return a single Document object.

The index number represents the position of the document in the Documents collection.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.