LinkFormat Property

Microsoft Publisher Visual Basic

object that contains the properties that are unique to linked OLE objects. Read-only.

expression.LinkFormat

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

Example

This example updates the links between any OLE objects on page one in the active publication and their source files.

Dim sh As Shape

For Each sh In ActiveDocument.Pages(1).Shapes
    If sh.Type = pbLinkedOLEObject Then
        With sh.LinkFormat
            .Update
        End With
    End If
Next