Click Event

See Also         Example         Applies To

Occurs whenever the user clicks the specified control.

Syntax

Private Sub Object_Click(EventInfo)

Object   A ChartSpace, PivotTable, or Spreadsheet object.

EventInfo   The SpreadsheetEventInfo or WCChartEventInfo object that contains information about the event. You cannot use this argument with the PivotTable object.

Remarks

For information about using events with VBScript, see Declaring and Using Event Procedures in VBScript.