Microsoft Office 2000/Visual Basic Programmer's Guide |
The Document object is just below the Application object in Word's object model and is at the heart of Word programming. When you open a new document from the user interface, you create a new Document object. Each document you create or open is added to the Documents collection, and the document that has the focus is called the active document.