using mouse click events in macros

  • Thread starter Thread starter spgandau
  • Start date Start date
S

spgandau

I am trying to use the mouse to select a cell, and based on that cell
selection, I want a macro to execute.....but I do not see any excel functions
or VBA functions that will activate upon any mouse click/selection.

Any help would be appreciated!
 
Events such as sheetbefore right-click and sheetbefore double-click will run
code.

See VBA help on mouse events.


Gord Dibben MS Excel MVP
 
Just to add, there is no event that will fire when you single click on a cell.

There is an event that will fire when you change selection--either by using the
mouse or by using the arrow keys or even Edit|goto.
 
Back
Top