TableDirection Property

Microsoft PowerPoint Visual Basic

TableDirection Property

       

Returns or sets the direction in which the table cells are ordered. Read/write PpDirection.

PpDirection can be one of these PpDirection constants.
ppDirectionLeftToRight
ppDirectionMixed
ppDirectionRightToLeft

expression.TableDirection

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

Remarks

The default value of the TableDirection property is ppDirectionLefttToRight unless the LanguageSettings property or the DefaultLanguageID property is set to a right-to-left language, in which case the default value is ppDirectionRightToLeft. The ppDirectionMixed constant may be returned when using the TextDirection property.

Example

This example sets the direction in which cells in the selected table are ordered to left to right (first column is the leftmost column).

ActiveWindow.Selection.ShapeRange.Table.TableDirection = _
    ppDirectionLeftToRight