Thread: Auto-Run
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
mudraker[_345_] mudraker[_345_] is offline
external usenet poster
 
Posts: 1
Default Auto-Run


Yes it is possible

One way

On the module sheet that is for the speadsheet you want to trigger the
macro you need a change event macro

Private Sub Worksheet_Change(ByVal Target As Range)
'add target.address testing if required
If Target.Value < 0 Then
Application.EnableEvents = False
Call MyMacro
Application.EnableEvents = True
End If
End Sub


--
mudraker
------------------------------------------------------------------------
mudraker's Profile: http://www.excelforum.com/member.php...fo&userid=2473
View this thread: http://www.excelforum.com/showthread...hreadid=522046