ChartData.ActivateChartDataWindow Method (Word)

Opens a Excel data grid window that contains the full source data for the specified chart.


expression. ActivateChartDataWindow

expression A variable that represents a ChartData object.

Return value



If the data grid window is already open, this method has no effect.

The ActivateChartDataWindow method differs from theChartData.Activate method in that the former opens the chart in an Excel window within Word, with the Excel ribbon unavailable, whereas the latter opens a full version of Excel, with the ribbon available.


The following example shows how to activate the chart data window for the chart that is at the first index position in the collection of shapes in the active document.

Public Sub ActivateChartDataWindow_Example()


End Sub