O'Reilly logo

Visual Basic 2010 Unleashed by Alessandro Del Sole

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an Application-Level Add-In for Microsoft Word

In this section you learn how to build an application-level add-in for Microsoft Office, which includes an example that targets Microsoft Word, but the idea behind the code structure is almost the same for Excel and PowerPoint. The goal of the sample add-in is to provide a custom task pane where you place user controls for retrieving revisions and comments from the active Word document and saving information into an Xml file. The first step is creating a new project. In the New Project dialog, select the Visual Basic, Office, 2007 folder. Select the Word 2007 add-in template and then name the new project as WordSummaryAddin. Figure 52.1 shows details about this.

Figure 52.1 Creating a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required