Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
using mouse click events in macros
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! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
using mouse click events in macros
see Event Macros, Worksheet Events and Workbook Events
http://www.mvps.org/dmcritchie/excel/event.htm -- HTH, David McRitchie, Microsoft MVP -- Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm "spgandau" wrote in message ... 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! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
using mouse click events in macros
Events such as sheetbefore right-click and sheetbefore double-click will run
code. See VBA help on mouse events. Gord Dibben MS Excel MVP On Fri, 11 Apr 2008 20:25:31 -0700, spgandau wrote: 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! |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
using mouse click events in macros
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. spgandau wrote: 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! -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I track the chart mouse events? | Excel Programming | |||
Mouseover or Mouse Move events | Excel Programming | |||
Any mouse events for Worksheets? | Excel Programming | |||
Mouse Over Graph, Capture Information on Click(Double Click) | Excel Programming | |||
Mouse over events for Active X objects in excel | Excel Programming |