Range.NextStoryRange Property 

Returns a Range object that refers to the next story as shown in the following table.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim range1 As Range

Dim returnValue As Range
returnValue = range1.NextStoryRange

Syntax

ReadOnly Property NextStoryRange() As Range
Range NextStoryRange {get;}
property Range^ NextStoryRange{
    Range^ get();
}
public Range get_NextStoryRange();
function get NextStoryRange() : Range;

Remarks

The following table shows what is returned by the NextStoryRange property:

Story type

Item returned by the NextStoryRange method

wdMainTextStory, wdFootnotesStory, wdEndnotesStory, and wdCommentsStory

Always returns Nothing.

wdTextFrameStory

The story of the next set of linked text boxes.

wdEvenPagesHeaderStory, wdPrimaryHeaderStory, wdEvenPagesFooterStory, wdPrimaryFooterStory, wdFirstPageHeaderStory, wdFirstPageFooterStory

The next section's story of the same type.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Range Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Range Members