Range.InStory Method

Determines if the selection or range to which this method is applied is in the same story as the range specified by the Range argument.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function InStory ( _
    Range As Range _
) As Boolean
'Usage
Dim instance As Range
Dim Range As Range
Dim returnValue As Boolean

returnValue = instance.InStory(Range)
bool InStory(
    Range Range
)

Parameters

Return Value

Type: System.Boolean

Remarks

This method returns True if the selection or range to which this method is applied is in the same story as the range specified by the Range argument, and False if not.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Word Namespace