Cancel Method
Home Page (Objects) | Overview | FAQ | Reference
Applies to: TextSelection****object
Cancels a selection.
Syntax
object**.Cancel**
Parameters
object
An expression that evaluates to a TextSelection object.
Remarks
This method has the same effect as pressing the ESC key.
Example
The following example cancels the current selection:
ActiveDocument.Selection.Cancel