OLEFormat Property
Applies To
Field object, InlineShape object, Shape object.
Description
Returns an OLEFormat object that represents the OLE characteristics (other than linking) for the specified shape, inline shape, or field. Read-only.
See Also
LinkFormat property.
Example
This example loops through all the floating shapes on the active document and sets all linked Microsoft Excel worksheets to be updated automatically.
For Each s In ActiveDocument.Shapes
    If s.Type = msoLinkedOLEObject Then
        If s.OLEFormat.ProgID = "Excel.Sheet.8" Then
            s.LinkFormat.AutoUpdate = True
        End If
    End If
Next