Sdílet prostřednictvím


LinkFormat.SourceFullName Property (PowerPoint)

Returns or sets the name and path of the source file for the linked OLE object. Read/write.

Syntax

expression .SourceFullName

expression A variable that represents a LinkFormat object.

Return Value

String

Example

This example sets the source file for shape one on slide one in the active presentation to Wordtest.doc and specifies that the object's image be updated automatically.

With ActivePresentation.Slides(1).Shapes(1)

    If .Type = msoLinkedOLEObject Then

        With .LinkFormat

            .SourceFullName = "c:\my documents\wordtest.doc"

            .AutoUpdate = ppUpdateOptionAutomatic

        End With

    End If

End With

See Also

Concepts

LinkFormat Object

LinkFormat Object Members