Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello yet again...
I'm full of questions today. Thanks to all for the help! At any rate I have a ... Private Sub Worksheet_Change(ByVal Target As Range) routine which works properly when someone interacts with the sheet yet is unable to detect when an embedded DDE data feed updates. Is there another event I can use to capture these changes? Otherwise I have to run an indefinite loop which checks the cell for updates every second (or less). I would prefer not to do this if possible because I do occasionally miss updates. Any thought would be appreciated. Thanks! Trip |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I believe you can use the OnData property of the Application
object to name a macro that is to be executed when a DDE data link is updated. E.g., Application.OnData "MyMacro" Sub MyMacro() ' do your thing End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Trip" wrote in message oups.com... Hello yet again... I'm full of questions today. Thanks to all for the help! At any rate I have a ... Private Sub Worksheet_Change(ByVal Target As Range) routine which works properly when someone interacts with the sheet yet is unable to detect when an embedded DDE data feed updates. Is there another event I can use to capture these changes? Otherwise I have to run an indefinite loop which checks the cell for updates every second (or less). I would prefer not to do this if possible because I do occasionally miss updates. Any thought would be appreciated. Thanks! Trip |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Detecting Row Selection | Excel Programming | |||
Detecting if AutoFill was used? | Excel Programming | |||
Detecting VBA code | Excel Programming | |||
worksheet_change vs. calculate, and worksheet_change not running | Excel Programming | |||
worksheet_change vs. calculate, and worksheet_change not running | Excel Programming |