Edit

Share via


Cell.RightPadding property (Word)

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

Syntax

expression.RightPadding

expression A variable that represents a 'Cell' 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 cell in the first row in the first table in the active document to 40 pixels.

ActiveDocument.Tables(1).Rows(1).Cells(1).RightPadding = _ 
 PixelsToPoints(40, False)

See also

Cell 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.