Partager via


ChartData.Activate Method

Activates the first window of the workbook associated with the chart.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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 method to run those macros).

Note

You must call this method before referencing the Workbook property.

See Also

Reference

ChartData Interface

ChartData Members

Microsoft.Office.Interop.PowerPoint Namespace