Table of contents
TOC
Collapse the table of content
Expand the table of content

LinkFormat.Update Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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
© 2018 Microsoft