LinkFormat 属性

       

返回一个 LinkFormat 对象,该对象包含链接的 OLE 对象独有的属性。只读。

示例

本示例将更新活动演示文稿的第一张幻灯片上任何 OLE 对象与其源文件之间的链接。

For Each sh In ActivePresentation.Slides(1).Shapes
    If sh.Type = msoLinkedOLEObject Then
        With sh.LinkFormat
            .Update
        End With
    End If
Next