Table of contents
Collapse the table of content
Expand the table of content

TextFrame.HasPreviousLink Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Returns msoTrue if the specified text frame has a valid link to a backward text box and msoFalse if it does not. Read-only.


expression. HasPreviousLink

_expression_A variable that represents a TextFrame object.

Return Value



This example breaks all links in the document to the first specified text frame if links exist. This example assumes that there is at least one shape on the first page of the active publication.

Sub AddPreviousNextLinkPages() 
 With ActiveDocument.Pages(1).Shapes(1).TextFrame 
 If .HasNextLink Then .BreakForwardLink 
 If .HasPreviousLink Then .PreviousLinkedTextFrame _ 
 End With 
End Sub
© 2018 Microsoft