LineUp Method

Home Page (Objects)OverviewFAQReference

Applies to: TextSelection object

Moves the insertion point up one line.

Syntax

object.LineUp [extend][, count]

Parameters

object

An expression that evaluates to a TextSelection object.

extend

(Optional) A string constant of type DsMovementOptions that specifies what to do with the selection. Possible values are:

count

(Optional) A Long that specifies the number of times you want to repeat this action. The default is one.

Example

The following example moves the insertion point up one line and extends the selection:

ActiveDocument.Selection.LineUp dsExtend

See Also   LineDown method.