PreviousLinkedTextFrame Property

Microsoft Publisher Visual Basic

object representing the text frame from which text flows to the specified text frame.

expression.PreviousLinkedTextFrame

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

Remarks

If the specified text frame is not part of a chain of linked frames or is the first in a chain of linked frames, this property returns nothing.

Example

The following example returns the previously linked text frame of shape three on page one of the active publication and sets its font to Times New Roman.

Dim txtFrame As TextFrame

Set txtFrame = ActiveDocument.Pages(1) _
    .Shapes(3).TextFrame.PreviousLinkedTextFrame

txtFrame.TextRange.Font = "Times New Roman"