Range.NextStoryRange property (Word)

Returns a Range object that refers to the next story. Read-only Range.

Syntax

expression. NextStoryRange

expression Required. A variable that represents a Range object.

Remarks

The following table describes the range returned depending on the type of story.

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

See also

Range Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.