Table.TableDirection Property (Word)

Returns or sets the direction in which Microsoft Word orders cells in the specified table. Read/write WdTableDirection .

Syntax

expression. TableDirection

expression Required. A variable that represents a 'Table' object.

Remarks

If the TableDirection property is set to wdTableDirectionLtr , the selected rows are arranged with the first column in the leftmost position. If the TableDirection property is set to wdTableDirectionRtl , the selected rows are arranged with the first column in the rightmost position.

Example

This example sets Microsoft Word to order cells in the selected row from right to left.

Selection.Rows.TableDirection = _ 
 wdTableDirectionRtl

See also

Table Object