Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
When you create andelegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.
The following code example demonstrates a handler for the Click event. The event handler displays the address of the cell that contains the recognized smart tag term or expression. This code example is part of a larger example provided for the Action interface.
This example is for a document-level customization.