ChartData.BreakLink Method (Word)
Removes the link between the data for a chart and a Microsoft Excel workbook.
Version Information
Version Added: Word 2007
Syntax
expression .BreakLink
expression A variable that represents a ChartData object.
Remarks
Calling this method sets the IsLinked property of the ChartData object to False.
Example
The following example removes the link between the ChartData object for the first chart in the active document and the Excel workbook that provided the data for the chart.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
.Chart.ChartData.Activate
.Chart.ChartData.BreakLink
End If
End With