Document Interface

Represents a document.

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

'Declaration
<GuidAttribute("0002096B-0000-0000-C000-000000000046")> _
Public Interface Document _
	Inherits _Document, DocumentEvents2_Event
'Usage
Dim instance As Document

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.

Community Additions

ADD
Show:
© 2014 Microsoft