IsEqual Method

See Also         Example         Applies To

True if the selection or range to which this method is applied is equal to the range specified by the Range argument. This method compares the starting and ending character positions, as well as the story type. If all three of these items are the same for both objects, the objects are equal.

Syntax

expression.IsEqual(Range)

expression   Required. An expression that returns a Range or Selection object.

Range   Required Range object. The Range object that's compared with expression.