LinkFormat Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns a LinkFormat object that contains the properties that are unique to linked OLE objects.

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