View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave B[_9_] Dave B[_9_] is offline
external usenet poster
 
Posts: 22
Default Add code to a worksheet programatically

e.g. let's say the code was:

Sub Worksheet_Change(ByVal Target As Excel.Range)
MsgBox Target
End Sub

(although it's much longer than that)