Alignment Property Example

This example right-aligns the first paragraph in the active document.

ActiveDocument.Paragraphs(1).Alignment = _
    wdAlignParagraphRight

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

ActiveDocument.Tables(1).Rows.Alignment = _
    wdAlignRowCenter

This example centers the first tab stop in the first paragraph in the active document.

ActiveDocument.Paragraphs(1).TabStops(1).Alignment = _
    wdAlignTabCenter