ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   RTD value changes not triggering worksheet change event (https://www.excelbanter.com/excel-programming/363569-rtd-value-changes-not-triggering-worksheet-change-event.html)

DTM[_4_]

RTD value changes not triggering worksheet change event
 
Real time data feeds don't appear to trigger worksheet change event.

Does anyone have any idea how I can trigger my macro when values fed in
to cells through DDE or RTD reach a threshold?

Thanks in advance


Chip Pearson

RTD value changes not triggering worksheet change event
 
You can use OnData to specify a macro to run when the workbook is
updated via DDE.


Application.OnData = "MyMacro"



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"DTM" wrote in message
oups.com...
Real time data feeds don't appear to trigger worksheet change
event.

Does anyone have any idea how I can trigger my macro when
values fed in
to cells through DDE or RTD reach a threshold?

Thanks in advance




John.Greenan

RTD value changes not triggering worksheet change event
 
What about cheating by creating a function in another cell -
=mynewfunction(rtd cell reference, threshold)

and then write a custom function where the function has a line

if rtd cell reference.value threshold then
'do stuff here
else
'do nothing
end if

That will do the job...



--
www.alignment-systems.com


"DTM" wrote:

Real time data feeds don't appear to trigger worksheet change event.

Does anyone have any idea how I can trigger my macro when values fed in
to cells through DDE or RTD reach a threshold?

Thanks in advance




All times are GMT +1. The time now is 07:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com