TableSelectTable

Syntax

TableSelectTable

Remarks

Selects the entire table containing the insertion point. If the insertion point
or selection is not in a table, an error occurs. As the examples in this entry demonstrate, you can use TableSelectTable in combination with other WordBasic statements to move the insertion point reliably to the first cell in
a table or to the first character after a table.

Examples

This example moves the insertion point to the first cell in a table:


TableSelectTable
StartOfRow

The following example moves the insertion point to the end-of-row mark in the first row in a table. When the insertion point is at this position, you can use TableInsertColumn to add a column to the end of a table.


TableSelectTable
StartOfColumn

The following example moves the insertion point to the first character after
a table:


TableSelectTable
CharRight

See Also

TableSelectColumn, TableSelectRow