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.
Setup and general tasks.
User interface customization tasks.
Excel automation tasks.
Word automation tasks.
Data tasks.
Server-side document management tasks.
Security tasks.
Deployment tasks.
Setup and General Tasks
How to: Target Office Applications Through Primary Interop Assemblies.
How to: Set Up Configuration Information for an Office Solution.
User Interface Customization Tasks
Controls on Documents and Worksheets
Task Panes in Document-Level Customizations
Task Panes in Application-Level Add-Ins
Ribbon Customizations
Outlook Form Regions
Custom Menus
Excel Automation Tasks
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.
Word Automation Tasks
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 Tasks
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 Application-Level Add-Ins.
Server-side Document Management Tasks
Security Tasks
Deployment Tasks
How to: Deploy an Office Solution by Using ClickOnce (2007 System).
How to: Deploy a Document-Level Office Solution to a SharePoint Server (2007 System).
How to: Install Prerequisites on End User Computers to Run Office Solutions (2007 System).
How to: Prepare IIS for Deployment of Office Solutions (2007 System).
How to: Change the Install Location of an Office Solution (2007 System).
See Also
Concepts
Features Available by Office Application and Project Type