Export (0) Print
Expand All

LinkFormat Object

Office 2003
Multiple objects
LinkFormat

Contains properties and methods that apply to linked OLE objects. The OLEFormat object contains properties and methods that apply to OLE objects whether or not they're linked. The PictureFormat object contains properties and methods that apply to pictures and OLE objects.

Using the LinkFormat Object

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
		


Methods | Update Method

Parent Objects | Shape Object | ShapeRange Object

Child Objects


Show:
© 2015 Microsoft