Share via


Shape.LinkFormat Property (Publisher)

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

Syntax

expression .LinkFormat

expression A variable that represents a Shape object.

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