Chart Object Events
Chart events occur when the user activates or changes a chart. Events on chart sheets are enabled by default. To view the event procedures for a sheet, right-click the sheet tab and select View Code from the shortcut menu. Select the event name from the Procedure drop-down list box.
Activate
DragOver DragPlot |
MouseDown |
![]() |
---|
To write event procedures for an embedded chart, you must create a new object using the WithEvents keyword in a class module. For more information, see Using Events with Embedded Charts. |
This example changes a point's border color when the user changes the point value.
|
See Also