Walkthroughs Using Word
Walkthroughs provide step-by-step instructions for common scenarios and are a good place to start learning about Visual Studio Tools for Office.
The following walkthroughs demonstrate ways you can use document-level customizations and application-level add-ins to automate Microsoft Office Word and customize the user interface (UI).
Walkthroughs for Word 2007 and Word 2003
The following walkthroughs can be performed in projects for Word 2007 or Word 2003.
- Walkthrough: Creating Your First Application-Level Add-in for Word
Demonstrates how to create a basic application-level add-in for Word.
Walkthrough: Creating Your First Document-Level Customization For Word
Demonstrates how to create a basic document-level customization for Word.
Walkthrough: Inserting Text into a Document from an Actions Pane
Demonstrates how to add text to a Word document when users enter text in controls on an actions pane.
Walkthrough: Binding Data to Controls on a Word Actions Pane
Demonstrates how to bind data to controls on an actions pane. The controls demonstrate a master/detail relation between tables in a SQL Server database.
Walkthrough: Changing Document Formatting Using CheckBox Controls
Demonstrates how to use check boxes on a Word document to change formatting.
Walkthrough: Displaying Text in a Text Box in a Document Using a Button
Demonstrates how to use buttons and text boxes on Word documents.
Walkthrough: Updating a Chart in a Document Using Radio Buttons
Demonstrates how to change chart styles in a Word document by using option buttons in a document-level customization.
Walkthrough: Creating Shortcut Menus for Bookmarks
Demonstrates how to create a shortcut menu that can be used to format the text in a bookmark.
Walkthrough: Creating a Smart Tag by Using a Document-Level Customization
Demonstrates how to create a smart tag in a document-level customization.
Walkthroughs for Word 2007
The following walkthroughs can be performed only in projects for Word 2007.
Walkthrough: Adding Controls to a Document at Run Time in an Application-Level Add-In
Demonstrates how to add controls to a document by using an application-level add-in.
Walkthrough: Creating a Custom Tab by Using Ribbon XML
Demonstrates how to create a custom Ribbon tab by using an XML descriptor file in an application-level add-in.
Walkthrough: Automating an Application from a Custom Task Pane
Demonstrates how to automate Word from a custom task pane in an application-level add-in.
Walkthrough: Creating a Smart Tag by Using an Application-Level Add-In
Demonstrates how to create a smart tag in an application-level add-in.
Walkthrough: Calling Code from VBA in a Visual Basic Project
Demonstrates how to call code in a customization assembly from VBA code in the document.
Walkthrough: Creating a Template By Using Content Controls
Demonstrates how to use content controls to create structured and reusable content in a Word template.
Walkthrough: Binding Content Controls to Custom XML Parts
Demonstrates how to bind content controls in a Word document to XML data that is stored in the document.
Added entries for new walkthroughs.
SP1 feature change.