This documentation is archived and is not being maintained.

Tables Interface

A collection of Table objects that represent the tables in a selection, range, or document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

<GuidAttribute("0002094D-0000-0000-C000-000000000046")> _
Public Interface Tables _
	Inherits IEnumerable
Dim instance As Tables

Use the Tables property to return the Tables collection.

Use the Add method to add a table at the specified range.

Use Tables(index), where index is the index number, to return a single Table object. The index number represents the position of the table in the selection, range, or document.

The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range object.