ChartData.Activate Method
Activates the first window of the workbook associated with the chart.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub Activate
'Usage
Dim instance As ChartData
instance.Activate()
void Activate()
Remarks
If the chart is linked to a Microsoft Excel workbook, this method does not run any Auto_Activate or Auto_Deactivate macros that might be attached to the workbook (use the RunAutoMacros(XlRunAutoMacro) method to run those macros).
Note
This method must be called before referencing the Workbook property.