TextFrame.NextLinkedTextFrame property (Publisher)

Returns or sets a TextFrame object representing the text frame to which text flows from the specified text frame. Read/write.

Syntax

expression.NextLinkedTextFrame

expression A variable that represents a TextFrame object.

Return value

TextFrame

Remarks

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

Example

The following example returns the next 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.NextLinkedTextFrame 
 
txtFrame.TextRange.Font = "Times New Roman"

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.