LinkFormat.Update method (Publisher)

Updates the specified linked OLE object.

Syntax

expression.Update

expression A variable that represents a LinkFormat object.

Example

This example updates all linked OLE objects in the active publication.

Dim pageLoop As Page 
Dim shpLoop As Shape 
 
For Each pageLoop In ActiveDocument.Pages 
 For Each shpLoop In pageLoop.Shapes 
 
 With shpLoop 
 If .Type = pbLinkedOLEObject Then 
 .LinkFormat.Update 
 End If 
 End With 
 
 Next shpLoop 
Next pageLoop

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.