Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a workbook that is being updated through DDE links. I also want to
trigger the recalculation of a cell at regular intervals (every 5 seconds, for example) while the DDE updates are happening. How can I do this? I tried the Wait function in a macro, but this interrupts all updates. Any other ideas? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at
Application.OnTime tim -- Tim Williams Palo Alto, CA "ÉH" wrote in message ... I have a workbook that is being updated through DDE links. I also want to trigger the recalculation of a cell at regular intervals (every 5 seconds, for example) while the DDE updates are happening. How can I do this? I tried the Wait function in a macro, but this interrupts all updates. Any other ideas? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can give this a try. Place this in a standard code module...
Sub RefreshStuff() MsgBox "Tada" Application.OnTime Now + TimeValue("00:00:05"), "ReCalculate" End Sub sub ReCalculate() application.calculate 'or calculatefull end sub -- HTH... Jim Thomlinson "ÉH" wrote: I have a workbook that is being updated through DDE links. I also want to trigger the recalculation of a cell at regular intervals (every 5 seconds, for example) while the DDE updates are happening. How can I do this? I tried the Wait function in a macro, but this interrupts all updates. Any other ideas? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chip Pearson has lots of instructions at:
http://www.cpearson.com/excel/ontime.htm ÉH wrote: I have a workbook that is being updated through DDE links. I also want to trigger the recalculation of a cell at regular intervals (every 5 seconds, for example) while the DDE updates are happening. How can I do this? I tried the Wait function in a macro, but this interrupts all updates. Any other ideas? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro trigger | Excel Discussion (Misc queries) | |||
Another way to trigger a macro? | Excel Programming | |||
Coverting worksheet macro to regular macro | Excel Programming | |||
Macro trigger? | Excel Programming | |||
Macro trigger? | Excel Programming |