Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at SetLinkOnData
you use this to assign a macro to run when the specific link changes. See Chip Pearson page on Application.OnTime to see how to run a macro at a specified time http://www.cpearson.com/excel/ontime.htm -- Regards, Tom Ogilvy "ikantian" wrote in message om... I would like to have an excel event which temporarily (say, for 3 seconds) highlights/reformats a cell when the value in that cell changes (from a DDE link) and then changes it back to its original format. Thanks much for any help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
But I have 100 different DDE links that change constantly. Am I
really supposed to have 100 separate SetLinkOnData statements for each? thanks. "Tom Ogilvy" wrote in message ... Look at SetLinkOnData you use this to assign a macro to run when the specific link changes. See Chip Pearson page on Application.OnTime to see how to run a macro at a specified time http://www.cpearson.com/excel/ontime.htm -- Regards, Tom Ogilvy |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could have
Sub HandleA1() Commonsub Range("A1") End Sub so it isn't quite as onerous as it appears, but in xl2000 or later, I believe you can use the change event with DDE updates, so if that fits your requirements, you can try that first. Since the Change event passes the triggering cell, you wouldn't need 100 routines to handle the updates. -- Regards, Tom Ogilvy "ikantian" wrote in message om... But I have 100 different DDE links that change constantly. Am I really supposed to have 100 separate SetLinkOnData statements for each? thanks. "Tom Ogilvy" wrote in message ... Look at SetLinkOnData you use this to assign a macro to run when the specific link changes. See Chip Pearson page on Application.OnTime to see how to run a macro at a specified time http://www.cpearson.com/excel/ontime.htm -- Regards, Tom Ogilvy |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
the change event for XL on Office2000 definitely doesn't seem to work
with DDE updates. Unless i'm doing something wrong. Not sure what HandleA1 code below means. thanks. "Tom Ogilvy" wrote in message ... You could have Sub HandleA1() Commonsub Range("A1") End Sub so it isn't quite as onerous as it appears, but in xl2000 or later, I believe you can use the change event with DDE updates, so if that fits your requirements, you can try that first. Since the Change event passes the triggering cell, you wouldn't need 100 routines to handle the updates. -- Regards, Tom Ogilvy "ikantian" wrote in message om... But I have 100 different DDE links that change constantly. Am I really supposed to have 100 separate SetLinkOnData statements for each? thanks. "Tom Ogilvy" wrote in message ... Look at SetLinkOnData you use this to assign a macro to run when the specific link changes. See Chip Pearson page on Application.OnTime to see how to run a macro at a specified time http://www.cpearson.com/excel/ontime.htm -- Regards, Tom Ogilvy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trigger Event on Format Change | Excel Discussion (Misc queries) | |||
Adjust cell values without a formula or temporary cell | Excel Discussion (Misc queries) | |||
Temporary formatting of cell with focus | Excel Discussion (Misc queries) | |||
in vba what command is used to determine if a particular cell on a particular sheet changed? some kind of event? how to get the old and new value of the cell? | Excel Worksheet Functions | |||
Make cell entry event change another cell? | Excel Programming |