mouseclick events

  • Thread starter Thread starter animal1881
  • Start date Start date
A

animal1881

I have a list of names I need to go through. I would like to make
macro that, when activated, highlights the names I choose in a color.
Formatting the cell is no problem, but how do I make VBA recognize
mouseclick in a certain cell
 
You can use the selectionchange event, but that will fire whenever a cell is
selected, regardless of how it was selected (tab, return, mouseclick).

If you want to be more specific, you can use beforeRightclick or
BeforeDoubleClick events.

See Chip Pearson's site for information on events if you are not familiar
with them

http://www.cpearson.com/excel/events.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top