LinkFormat.Update Method

Publisher Developer Reference

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.

Visual Basic for Applications
  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.<strong class="bterm">Update</strong>
        End If
    End With

Next shpLoop

Next pageLoop

See Also