J
Joey
Hi. I am running a spreadsheet in which there are some cells that
contain the highest numbers delivered by a DDE data stream. The cells
update only if the current DDE-delivered number is higher than the one
already stored in the cell. In other words, the cells in question
always display the highest value registered during a session.
It's simple enough with VBA variables and loops (and I'm no guru .
It works but I have to use a timer (set at 3 seconds) to scan ranges
of cells, and this brings some complications and inefficiencies into a
spreadsheet that is quite big and resources-intensive to start with.
Having to use the timer puts it squarely into the kludge category
With VBA, I compare the current DDE number to the highest previous
number stored in a variable and write it (or not) to the appropriate
cell. What I need is some kind of a conditional update on a cell, as
in:
IF(current DDE number > current number in cell XYZ, write current DDE
number to the cell, otherwise no change).
But it's easier said than done
Any ideas or tips?
Thanks in advance for the help,
Joey
contain the highest numbers delivered by a DDE data stream. The cells
update only if the current DDE-delivered number is higher than the one
already stored in the cell. In other words, the cells in question
always display the highest value registered during a session.
It's simple enough with VBA variables and loops (and I'm no guru .
It works but I have to use a timer (set at 3 seconds) to scan ranges
of cells, and this brings some complications and inefficiencies into a
spreadsheet that is quite big and resources-intensive to start with.
Having to use the timer puts it squarely into the kludge category
With VBA, I compare the current DDE number to the highest previous
number stored in a variable and write it (or not) to the appropriate
cell. What I need is some kind of a conditional update on a cell, as
in:
IF(current DDE number > current number in cell XYZ, write current DDE
number to the cell, otherwise no change).
But it's easier said than done
Any ideas or tips?
Thanks in advance for the help,
Joey