更新指定的链接 OLE 对象。要一次更新演示文稿中的所有链接,可使用 UpdateLinks 方法。
expression.Update
expression 必选。该表达式返回一个 LinkFormat 对象。
本示例更新当前演示文稿中所有链接的 OLE 对象。
For Each sld In ActivePresentation.Slides
For Each sh In sld.Shapes
If sh.Type = msoLinkedOLEObject Then
sh.LinkFormat.Update
End If
Next
Next