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)

[GuidAttribute("0002096C-0000-0000-C000-000000000046")]
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft