You can create VBA code that runs when something happens in a workbook, such as opening the workbook, making or changing the selection on a worksheet, right-clicking, or switching worksheets. The VBA example in this download accompanies the technical article "Running VBA Code When Events Occur in Excel 2010."
System Requirements:
This download works with the following Office applications:
To install this download: