TableStyle.LeftPadding property (Word)

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

Syntax

expression.LeftPadding

expression Required. A variable that represents a 'TableStyle' object.

Remarks

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

Example

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

ActiveDocument.Tables(1).LeftPadding = _ 
 PixelsToPoints(40, False)

See also

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