Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default trigger an EVENT when the value in a cell changes?

I am monitoring inputs from a PLC using OPC server software. I want a change
in state in an input to trigger an EVENT in Excel so I can activate a
SubProcedure. I have tried an IF-then in a cell, using the monitored input
to no avail.

Public Sub OpDataEntry_Change(ByVal Target as Range)
If Target.Address = ("BR12") Then '("BR12" is the IF..Then cell, which works.)
(rest of code)
End if
End Sub

Any suggestions?

Regards,

Glenn
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trigger an event on Checkbox change James Geniti Excel Programming 0 September 1st 04 09:24 PM
Trigger Event - Frank Stone Todd Huttenstine Excel Programming 0 July 14th 04 09:04 PM
Trigger Event Todd Huttenstine Excel Programming 2 July 14th 04 06:50 PM


All times are GMT +1. The time now is 05:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"