

For Word 2002, click Microsoft Word 10.0 Object Library.For Word 2003, click Microsoft Word 11.0 Object Library.For Office Word 2007, click Microsoft Word 12.0 Object Library.On the Project menu, click References, click one of the following options, and then click OK: In Visual Basic, create a new Standard EXE project. To create a new Word document by using Automation from Visual Basic, follow these steps: Insert tables, format tables, and populate the tables with data.Browse and modify various ranges within a document.Insert paragraphs with text and formatting.The sample code in this article demonstrates how to do the following:


This step-by-step article describes how to create a new document in Word by using Automation from Visual Basic.
