Selection.SelectCurrentAlignment Method (Word)
Published: July 16, 2012
Extends the selection forward until text with a different paragraph alignment is encountered.
expression Required. A variable that represents a Selection object.
This example positions the insertion point at the beginning of the first paragraph after the current paragraph that doesn't have the same alignment as the current paragraph. If the alignment is the same from the selection to the end of the document, the example moves the selection to the end of the document and displays a message.