Edit

Share via


Work 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.

Task Procedure
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