View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Colin Foster Colin Foster is offline
external usenet poster
 
Posts: 25
Default Help on Worksheet_change (I think!)


Hi Gary,
Thanks for the swift reply.

"Worksheet code area" presumably the code bit attached to Sheet1 (where the
data is?
Also, don't I have to refer to the cell that I need to know has changed (A126?

Cheers
Colin

"Gary''s Student" wrote:

First make sure that Sub UpdatePrices() is in a standard module. Then insert
the following event macro in the worksheet code area:

Private Sub Worksheet_Calculate()
Call UpdatePrices
End Sub