TableDirection Property

Microsoft Word Visual Basic

WdTableDirection can be one of these WdTableDirection constants.
wdTableDirectionLtr
wdTableDirectionRtl

expression.TableDirection

expression    Required. An expression that returns one of the objects in the Applies To list.

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.

For more information on using Word with right-to-left languages, see Word features for right-to-left languages.

Example

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

Selection.Rows.TableDirection = _
    wdTableDirectionRtl