Share via


Table.RightPadding Property

Word Developer Reference

Returns or sets the amount of space (in points) to add to the right of the contents of all the cells in a table. Read/write Single.

Syntax

expression.RightPadding

expression   Required. A variable that represents a Table object.

Remarks

The setting of the RightPadding property for a single cell overrides the setting of the RightPadding property for the entire table.

Example

This example sets the right padding for the first table in the active document to 40 pixels.

Visual Basic for Applications
  ActiveDocument.Tables(1).RightPadding = _
    PixelsToPoints(40, False)

See Also