SelectAll Method

Home Page (Objects)OverviewFAQReference

Applies to: TextSelection object

Extends the selection to include the entire document.

Syntax

object.SelectAll

Parameters

object

An expression that evaluates to a TextSelection object.

Example

The following example extends the selection to the entire document:

ActiveDocument.Selection.SelectAll

See Also   SelectLine method.