Apps for Office: Get selection-change coordinates in an Excel table
This sample app shows how to detect when the selection changes in a table (named range) in Excel 2013, and then display the coordinates, relative to the table, of the new selection. It also displays the number of table columns and rows included in the selection.