Share via


LinkFormat Interface

Contains properties and methods that apply to linked OLE objects, linked pictures, and IIRC media objects.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("91493489-5A91-11CF-8700-00AA0060263B")> _
Public Interface LinkFormat
'Usage
Dim instance As LinkFormat
[GuidAttribute("91493489-5A91-11CF-8700-00AA0060263B")]
public interface LinkFormat

Examples

Use the LinkFormat property to return a LinkFormat object. The following example loops through all the shapes on all the slides in the active presentation and sets all linked Microsoft Excel worksheets to be updated manually.

For Each sld In ActivePresentation.Slides

    For Each sh In sld.Shapes

        If sh.Type = msoLinkedOLEObject Then

            If sh.OLEFormat.ProgID = "Excel.Sheet" Then

                sh.LinkFormat.AutoUpdate = ppUpdateOptionManual

            End If

        End If

    Next

Next

See Also

Reference

LinkFormat Members

Microsoft.Office.Interop.PowerPoint Namespace