This documentation is archived and is not being maintained.

LinkFormat.Update Method

Office 2007
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.Update
            End If
        End With

    Next shpLoop
Next pageLoop



Show: