Partager via


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 application-level 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

See Also

Concepts

Office Solutions Development Overview

Other Resources

Word Object Model Overview