Document.Tables (Word)

Returns a Table collection that represents all the tables in the specified document.

For information about returning a single member of a collection, see Returning an object from a collection.


Selection.Collapse Direction:=wdCollapseStart 
Set myTable = ActiveDocument.Tables.Add(Range:=Selection.Range, _ 
NumRows:=5, NumColumns:=5) 
myTable.AutoFormat Format:=wdTableFormatClassic2