In order to know what image the user has selected, the program must identify the specific data series and data point whose marker displays the selected image. As discussed previously, selecting a chart component triggers the Select() event of the Chart object. To identify specific components requires testing the ElementID, Argl, and Arg2 arguments that Excel passes to the Select() event. The Alienated Game will take advantage of the Select() event procedure for identifying user-selected images.
Was this article helpful?