LinkFormat.BreakLink method (PowerPoint)
Breaks the link between the source file and the specified OLE object, picture, or linked field.
Syntax
expression. BreakLink
expression An expression that returns a LinkFormat object.
Return value
Nothing
Example
This example shows how to update and then break the links to any shapes that are linked to OLE objects on slide one in the active presentation.
Public Sub BreakLink_Example()
Dim pptShape As Shape
For Each pptShape In ActivePresentation.Slides(1).Shapes
With pptShape
If .Type = msoLinkedOLEObject Then
.LinkFormat.Update
.LinkFormat.BreakLink
End If
End With
Next pptShape
End Sub
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.