LinkSources(xlOLElinks) address

J

jgdavis

I have realtime stock quotes updating a spread sheet via DDE. When
use the following code, I cannot determine the cell address of the cel
which has been updated.


Sub DDEUpdate()

Dim colTimeStamp As String

colTimeStamp = "I"

varr = ThisWorkbook.LinkSources(xlOLELinks)

For i = LBound(varr, 1) To UBound(varr, 1)


ThisWorkbook.SetLinkOnData Name:=varr(i)
Procedure:="'MyLinkProcTest " & i & "'"

Next

End Sub

The varr array seems to put the links in a different order than the
are on the sheet.

Your help would greatly be appreciated.

Joh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top