letdown427
Golden Member
Market Eye linked to an Excel spreadsheet by DDE.
One thing that has escaped me, is how to get a function written in VB in Excel to run each time a DDE cell is updated?
Basically, the spreadsheet receives stock price information, and I've writen(/am writing) some things to work with that data, the question is, can I get it to run each time a cell is updated, or is it the ungainly approach of running it every second or some nonsense?
Any help/pointers would be greatly appreciated.
EDIT:
Hmm, there appears to be a WorkSheet_Change subroutine. I presume that a DDE update will fire that function? It's a bit hard (i.e impossible) to really test it at the moment, without making my own DDE'er, as there's isn't much stock action at the moment 😕 😉
One thing that has escaped me, is how to get a function written in VB in Excel to run each time a DDE cell is updated?
Basically, the spreadsheet receives stock price information, and I've writen(/am writing) some things to work with that data, the question is, can I get it to run each time a cell is updated, or is it the ungainly approach of running it every second or some nonsense?
Any help/pointers would be greatly appreciated.
EDIT:
Hmm, there appears to be a WorkSheet_Change subroutine. I presume that a DDE update will fire that function? It's a bit hard (i.e impossible) to really test it at the moment, without making my own DDE'er, as there's isn't much stock action at the moment 😕 😉