Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 839 Bytes

Word.Rows.Alignment.md

File metadata and controls

44 lines (27 loc) · 839 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Rows.Alignment property (Word)
vbawd10.chm155975684
vbawd10.chm155975684
Word.Rows.Alignment
0a3352eb-6618-1721-6261-11adad48707c
06/08/2017
medium

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

[!includeSupport and feedback]