Working with Tables


The topics in this section provide step-by-step procedures and code examples for using the object model of Microsoft Office Word to work with tables in Office projects. In some cases, the ways that you perform these tasks in VSTO Add-ins is different from the ways that you perform them in document-level customizations.

Create a table, apply a style, and access the table in code.How to: Programmatically Create Word Tables
Create a table, format it, and insert data into the cells.How to: Programmatically Populate Word Tables with Document Properties
Add a row or column to a table.How to: Programmatically Add Rows and Columns to Word Tables
Add text to a cell and format it.How to: Programmatically Add Text and Formatting to Cells in Word Tables

Word Object Model Overview
Office Solutions Development Overview (VSTO)