This is a basic example that shows you how to use the pseudo-events that OfficeExcel has:
Here the mousemove event is used to change the mouse cursor (it's automatically changed back for you). And the click event is used to show an alert.