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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.