Document.Tables Property
Word Developer Reference |
Returns a Table collection that represents all the tables in the specified document. Read-only.
Syntax
expression.Tables
expression A variable that represents a Document object.
Remarks
For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example creates a 5x5 table in the active document and then applies a predefined format to it.
Visual Basic for Applications |
---|
|
This example inserts numbers and text into the first column of the first table in the active document.
Visual Basic for Applications |
---|
|
See Also