Rows.VerticalPosition property (Word)

Returns or sets the vertical distance between the edge of the rows and the item specified by the RelativeVerticalPosition property. Read/write Single.

Syntax

expression. VerticalPosition

expression Required. A variable that represents a Rows object.

Remarks

This property can be a number that indicates a measurement in points, or can be any valid WdTablePosition constant.

Example

This example vertically aligns the first table in the active document with the top of the page.

Set myTable = ActiveDocument.Tables(1).Rows 
With myTable 
 .RelativeVerticalPosition = wdRelativeVerticalPositionPage 
 .VerticalPosition = wdTableTop 
End With

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.