Shape.LinkFormat 屬性 (Publisher)
會傳回 LinkFormat 物件包含對連結的 OLE 物件都是唯一的屬性。 唯讀。
語法
運算式。LinkFormat
表達 代表 Shape 物件的變數。
範例
在這個範例中,會更新使用中出版物第一頁上任何 OLE 物件與其來源檔之間的連結。
Dim sh As Shape
For Each sh In ActiveDocument.Pages(1).Shapes
If sh.Type = pbLinkedOLEObject Then
With sh.LinkFormat
.Update
End With
End If
Next
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。