paulked
02-08-2011, 11:25 AM
Hi all.
I'm trying to run a routine when the value of cell I104 changes. This value is either 1 or 0 depending on the state of a sensor which is automatically updated via an OLE product.
I'm using
Private Sub Worksheet_Change(byval target as range)
If target.address = ("I104") then Light54
End Sub
but I can't get it to work.
Any ideas?
Cheers
Paul Ked
I'm trying to run a routine when the value of cell I104 changes. This value is either 1 or 0 depending on the state of a sensor which is automatically updated via an OLE product.
I'm using
Private Sub Worksheet_Change(byval target as range)
If target.address = ("I104") then Light54
End Sub
but I can't get it to work.
Any ideas?
Cheers
Paul Ked