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

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.