Muokkaa

Jaa


Rows.Alignment property (Word)

Returns or sets a WdRowAlignment constant that represents the alignment for the specified rows. Read/write.

Syntax

expression.Alignment

expression Required. A variable that represents a Rows object.

Example

This example centers all the rows in the first table of the active document.

Sub CenterRows() 
 ActiveDocument.Tables(1).Rows _ 
 .Alignment = wdAlignRowCenter 
End Sub

See also

Rows Collection 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.