Rows.DistanceRight Property (Word)
Returns or sets the distance (in points) between the document text and the right edge of the specified table. Read/write Single.
Syntax
expression .DistanceRight
expression A variable that represents a Rows collection.
Remarks
This property doesn't have any effect if WrapAroundText is False.
Example
This example sets text to wrap around the first table in the active document and sets the distance for wrapped text to 20 points on all sides of the table.
With ActiveDocument.Tables(1).Rows
.WrapAroundText = True
.DistanceLeft = 20
.DistanceRight = 20
.DistanceTop = 20
.DistanceBottom = 20
End With