This documentation is archived and is not being maintained.

ChartEvents_Event.Activate Event 

Occurs when a chart sheet or embedded chart is activated.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

WithEvents chartEvents_Event1 As ChartEvents_Event
Function chartEvents_Event1_Activate() As Void
	Handles chartEvents_Event1.Activate
End Function

event ChartEvents_ActivateEventHandler^ Activate;
 void add_Activate(ChartEvents_ActivateEventHandler handler);
 void remove_Activate(ChartEvents_ActivateEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms