Rows.SetLeftIndent procedure builder

Rows.SetLeftIndent (Word)

Sets the indentation for a row or rows in a table.

SetLeftIndent (LeftIndent, RulerStyle)

Dim docNew As Document 
Dim tableNew As Table 
 
Set docNew = Documents.Add 
Set tableNew = docNew.Tables.Add(Range:=Selection.Range, _ 
 NumRows:=3, NumColumns:=3) 
 
tableNew.Rows.SetLeftIndent LeftIndent:=InchesToPoints(0.5), _ 
 RulerStyle:=wdAdjustSameWidth

Arguments

The following arguments are required:

LeftIndent (Single) - The distance (in points) between the current left edge of the specified row or rows and the desired left edge.

RulerStyle (WdRulerStyle) - Controls the way Microsoft Word adjusts the table when the left indent is changed. The WdRulerStyle behavior applies to left-aligned tables. The WdRulerStyle behavior for center- and right-aligned tables can be unexpected; in these cases, use the SetLeftIndent method with care.


Possible Values are

wdAdjustFirstColumn Adjusts the left edge of the first column only, preserving the positions of the other columns and the right edge of the table.
wdAdjustNone Adjusts the left edge of row or rows, preserving the width of all columns by shifting them to the left or right. This is the default value.
wdAdjustProportional Adjusts the left edge of the first column, preserving the position of the right edge of the table by proportionally adjusting the widths of all the cells in the specified row or rows.
wdAdjustSameWidth Adjusts the left edge of the first column, preserving the position of the right edge of the table by setting the widths of all the cells in the specified row or rows to the same value.