OnData/ON.DATA Function Doesn't Work with Object Links
Article ID: 126316
Article Last Modified on 8/15/2005
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Excel 95 Standard Edition
- Microsoft Excel 5.0 Standard Edition
This article was previously published under Q126316
SYMPTOMS
When you use the OnData property in a Microsoft Visual Basic for
Applications procedure in Microsoft Excel, the procedure that is set to run
does not run when dynamic data exchange (DDE) or OLE data arrives in
Microsoft Excel.
CAUSE
The OnData property only works when the updated object is a text string or
a formula, not a linked object that uses another format. Only linked text
values cause the procedure that is assigned (using the OnData property) to
run. This behavior also occurs with the Microsoft Excel 4.0 ON.DATA macro
function.
REFERENCES
For more information about the OnData Property, click the Search button in
the Visual Basic Reference and type:
Additional query words: 5.00c 8.00 97
Keywords: kbinterop kbprogramming kbprb KB126316