ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Event procedures for spreadsheet cells ? (https://www.excelbanter.com/excel-programming/354592-event-procedures-spreadsheet-cells.html)

Tim Jarrett

Event procedures for spreadsheet cells ?
 
Hi -

Does anyone know, is there any way to trap a select or activate event for a
cell in a worksheet ? My code generates statistical analysis on columns of
data and it would be nice to be able to highlight the source data involved
whenever I click in one of the result cells. Any ideas anyone ?

Thanks

Chip Pearson

Event procedures for spreadsheet cells ?
 
The SelectionChange event fires whenever you select a cell. You
can test the Target parameter to see if it is one of your cells,
and act accordingly.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Tim Jarrett" <Tim wrote in
message
...
Hi -

Does anyone know, is there any way to trap a select or activate
event for a
cell in a worksheet ? My code generates statistical analysis
on columns of
data and it would be nice to be able to highlight the source
data involved
whenever I click in one of the result cells. Any ideas anyone
?

Thanks





All times are GMT +1. The time now is 11:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com