![]() Microsoft Office XP does not include PIAs, but they may be downloaded.įor more information about Office XP PIAs, click the following article number to view the article in the Microsoft Knowledge Base:ģ28912 Microsoft Office XP primary interop assemblies (PIAs) are available for downloadĬlick OK in the Add References dialog box to accept your selections. Note Microsoft Office 2003 and later versions of Office include Primary Interop Assemblies (PIAs). On the COM tab, locate the Microsoft Word Object Library and click Select. On the Project menu, click Add Reference. Form1 is created by default.Īdd a reference to the Microsoft Word Object Library. Under Project types click Visual Basic Projects, then click Windows Application under Templates. On the File menu, click New and then click Project. To create a new Word document by using Automation from Visual Basic. Insert tables, format tables, and populate the tables with data. Insert paragraphs with text and formatting.īrowse and modify various ranges within a document. 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. NET version of this article, see 316384.įor a Microsoft Visual Basic 6.0 version of this article, see 313193. ![]() NET to create a new documentįor a Microsoft Visual C#.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |