View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Binzelli Binzelli is offline
external usenet poster
 
Posts: 1
Default Run Macro when Cell changes

Hi Eager,

Use the Worksheet_Change event. If you want something to happen when
cell value changes in column A use code like:


Private Sub Worksheet_Change(ByVal Target As Range)

If Target.Column = 1 Then
MsgBox ("Row " & Target.Row & " in column A has changed to value:
& Target.Value)
End If

End Sub

Good luc

--
Message posted from http://www.ExcelForum.com