Shape.LinkFormat property (Publisher)

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



expression A variable that represents a Shape object.


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 
 End With 
 End If 

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.