XL: OnData/ON.DATA Function Doesn't Work With Object LinksLast reviewed: February 3, 1998Article ID: Q126316 |
The information in this article applies to:
SYMPTOMSWhen 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.
CAUSEThe 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 is by design of Microsoft Excel. This behavior also occurs with the Microsoft Excel 4.0 ON.DATA macro function.
REFERENCESFor more information about the OnData Property, click the Search button in the Visual Basic Reference and type:
OnData Property |
Additional query words: 4.00 5.00 5.00c 7.00 8.00 97
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |