Common Tasks in Office Programming
This topic is designed to help you find the answers to the following categories of common questions about programming Office solutions by using Visual Studio.
How to: Target Office Applications Through Primary Interop Assemblies.
How to: Set Up Configuration Information for an Office Solution.
Controls on Documents and Worksheets
Task Panes in Document-Level Customizations
Task Panes in VSTO Add-ins
Ribbon Customizations
Outlook Form Regions
Custom Menus
How to: Programmatically Display a String in a Worksheet Cell.
How to: Programmatically Apply Styles to Ranges in Workbooks.
How to: Programmatically Change Formatting in Worksheet Rows Containing Selected Cells.
How to: Programmatically Search for Text in Worksheet Ranges.
How to: Programmatically Run Excel Calculations Programmatically.
How to: Programmatically Define and Select Ranges in Documents.
How to: Programmatically Search for and Replace Text in Documents.
How to: Programmatically Add Rows and Columns to Word Tables.
Data-bound Controls
Cached Data in Document-Level Solutions
Custom XML Data
How to: Add Custom XML Parts to Document-Level Customizations.
How to: Add Custom XML Parts to Documents by Using VSTO Add-Ins.
How to: Publish a Document-Level Office Solution to a SharePoint Server by Using ClickOnce.
How to: Install Prerequisites on End User Computers to Run Office Solutions.
Getting Started (Office Development in Visual Studio)
Features Available by Office Application and Project Type
Office Development Samples and Walkthroughs