Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 840 Bytes

Word.Row.Alignment.md

File metadata and controls

44 lines (27 loc) · 840 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Row.Alignment property (Word)
vbawd10.chm156237828
vbawd10.chm156237828
Word.Row.Alignment
56214c5a-55d4-bcc9-857a-6591622bd264
06/08/2017
medium

Row.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 'Row' object.

Example

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

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

See also

Row Object

[!includeSupport and feedback]