

The following procedures can be used to set variables of type Document: Application.ActiveDocument, Application.CompareDocuments, Application.CustomizationContext, Application.MacroContainer, Application.MergeDocuments, Documents.Add, Documents.AddBlogDocument, Documents.Item, Documents.Open, Documents.OpenNoRepairDialog, KeyBinding.Context, KeyBindings.Context, KeysBoundTo.Context, MailingLabel.CreateNewDocument. To use a Document class variable it first needs to be instantiated, for example Dim doc as Document

The classes Application, KeyBinding, MailingLabel, Pane, ProtectedViewWindow, Range, RecentFile, Selection, Subdocument, Template, Version, Window and XMLNode. The Documents collection contains all the Document objects that are currently open in Word. The Document object is a member of the Documents collection. The class Document represents a document.
