View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Simon Lloyd[_892_] Simon Lloyd[_892_] is offline
external usenet poster
 
Posts: 1
Default run macro upon clicking a cell?


Paste this in to the worksheet code module. Every time you click a cell
on the worksheet it will call your macro

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Call YOUR MACRO NAME HERE
End Sub

Regards,
Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=573391