Bookmark.StoryType Property (Word)
Returns the story type for the specified range, selection, or bookmark. Read-only WdStoryType.
Syntax
expression .StoryType
expression Required. A variable that represents a Bookmark object.
Example
This example selects the bookmark named "temp" if the bookmark is contained in the main story of the active document.
If ActiveDocument.Bookmarks.Exists("temp") = True Then
Set myBookmark = ActiveDocument.Bookmarks("temp")
If myBookmark.StoryType = wdMainTextStory _
Then myBookmark.Select
End If