|Word Developer Reference|
expression Required. A variable that represents a Range object.
|Range||Required||Range||Specifies the range that this method uses to determine if it is contained within the specified Range object.|
This method determines whether the range returned by expression is contained in the specified Range by comparing the starting and ending character positions and the story type.
This example sets myRange equal to the first word in the active document. If myRange is not contained in the selected range, myRange is selected.
|Visual Basic for Applications|