Moderator, this thread should probably go in Software.
Originally posted by shortseller
i am not that good using excell maybe someone can help me... i am running a DDE link and the data for the stocks last price is comming in at one cell and is automaticaly updating every trade.. my question is,...is there a function in excel to record the high and low out of the data with in that one cell?
You'll very likely need to learn Visual Basic for Applications (VBA) in order to do this. Once you get the hang of it, it's really quite straightforward. Each DDE update is an event in Excel, which is why sheets with lots of DDE cells can really tax your computer's processor at the market open. You can use that event to trigger some code in VBA which writes each new data item into a list. Definitely check out the sites that others have recommended and get a book or two on Excel VBA.
would it be possible to make the back ground change color or make a possible alert at new highs?or pre slected price points??
In that case also, VBA will open up a whole world of possibilities.
Here's an example:
Let say your cell in question is B4. You want to highlight that cell based on its being greater than some value, say 64.53.
The code's as follows:
Sub ColorCell()
If Range("B4").Value > 64.53 Then
Range("B4").Interior.ColorIndex = 34 ' This is cyan
Else
Range("B4").Interior.ColorIndex = xlNone
End If
End Sub
Now you can call this from a simple routine that calls this subroutine every 1, 5, 10, or any number of seconds or minutes, and updates that cell's color. You can do the same thing with a *.wav sound file as well.