Document.StoryRanges Property
Word Developer Reference |
Returns a StoryRanges collection that represents all the stories in the specified document. Read-only.
Syntax
expression.StoryRanges
expression A variable that represents a Document object.
Remarks
For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example steps through the StoryRanges collection to determine whether wdPrimaryFooterStory is part of the StoryRanges collection.
Visual Basic for Applications |
---|
|
This example adds text to the primary header story and then displays the text.
Visual Basic for Applications |
---|
|
See Also