Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Worksheet_Change Not Detecting DDE Updates

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Worksheet_Change Not Detecting DDE Updates

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
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
Detecting Row Selection Nigel Excel Programming 1 January 2nd 05 03:48 PM
Detecting if AutoFill was used? Gilroy Excel Programming 2 June 16th 04 08:35 PM
Detecting VBA code Chris Gorham[_3_] Excel Programming 1 November 1st 03 08:34 PM
worksheet_change vs. calculate, and worksheet_change not running Tom Ogilvy Excel Programming 1 July 14th 03 02:51 AM
worksheet_change vs. calculate, and worksheet_change not running Ross[_5_] Excel Programming 0 July 13th 03 04:27 PM


All times are GMT +1. The time now is 02:35 PM.

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

About Us

"It's about Microsoft Excel"