Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Document Interface

Represents a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("0002096B-0000-0000-C000-000000000046")]
public interface Document : _Document, 
	DocumentEvents2_Event

The Document object is a member of the Documents collection. The Documents collection contains all the Document objects that are currently open in Microsoft Word.

UseDocuments(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.

Use the ActiveDocument property to refer to the document with the focus.

Show:
© 2016 Microsoft