Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Event triggers

Status
Not open for further replies.

cram

Technical User
Nov 6, 2001
6
US
Hi all,
I need to have an event triggered in Excel in a specific worksheet when a cell is selected (one of several possible hyperlinked cells). Any thoughts on setting up event handlers?

thx,
Cram
 
In that particular worksheet, add a

worksheet_selectionchange

event handler. Then check the actual location when it triggers:

sub worksheet_selectionchange
if target.address=range("MyLinkCell").address then
...do your stuff here...
end if
end sub

Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top