AutoUpdate Property

Applies To

LinkFormat object.

Description

True if the specified link is updated automatically when the container file is opened or when the source file is changed. Read/write Boolean.

See Also

Update method, UpdateLinksAtOpen property, UpdateLinksAtPrint property.

Example

This example updates any shapes in the active document that are linked OLE objects if Word isn't set to update links automatically.

For Each s In ActiveDocument.Shapes
    If s.Type = msoLinkedOLEObject Then
        If s.LinkFormat.AutoUpdate = False Then s.LinkFormat.Update
    End If
Next s
This example updates any fields in the active document that aren't updated automatically.

For Each afield In ActiveDocument.Fields
    If afield.LinkFormat.AutoUpdate = False Then afield.LinkFormat.Update
Next afield