SelectLine Method

Home Page (Objects)OverviewFAQReference

Applies to: TextSelection object

Selects the line defined by the CurrentLine property.

Syntax

object.SelectLine

Parameters

object

An expression that evaluates to a TextSelection object.

Example

The following example selects the current line:

ActiveDocument.Selection.SelectLine

See Also   SelectAll method.