Stories Property

Microsoft Publisher Visual Basic

collection containing all stories in the publication.

expression.Stories

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example assigns the first story in the Stories collection to a variable.

Sub FirstStory()

    Dim stFirst As Story

    stFirst = Application.ActiveDocument.Stories(1)

End Sub