Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default mouseclick events

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

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default mouseclick events

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

--
Regards,
Tom Ogilvy

"animal1881 " wrote in message
...
I have a list of names I need to go through. I would like to make a
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 a
mouseclick in a certain cell?


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
events? [email protected] Excel Discussion (Misc queries) 1 September 14th 05 03:26 PM
Need some events... Tim Mattingly Excel Programming 0 August 16th 04 09:53 AM
events Mark[_17_] Excel Programming 1 October 31st 03 09:18 AM
events Mark[_17_] Excel Programming 1 October 29th 03 12:56 PM
API's and Mouseclick Dave Peterson[_3_] Excel Programming 2 August 14th 03 03:00 AM


All times are GMT +1. The time now is 06:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"