The information in this article applies to:
SYMPTOMSIn the versions of Microsoft Excel listed above, if you insert an OLE object and link to a file, and you then record the process of opening the source file, the resulting macro will not work. When you play back the Visual Basic for Applications macro, you receive the following error message:
RESOLUTIONTo create a link that you can update in a macro, do the following:
If you then turn on the macro recorder and double-click the object to open the source document, the resulting macro will work. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel 97 for Windows and Microsoft Excel 98 Macintosh Edition. For additional information, please see the following article in the Microsoft Knowledge Base: Q115693 "Incorrect Argument Recorded with OpenLinks Method" REFERENCESFor more information about the OpenLinks Method, choose the Search button in the Visual Basic Reference and type: OpenLinks Method Additional query words: 5.00a 5.00c 7.00a Links OLE XL5 XL7
Keywords : kbprg PgmOthr |
Last Reviewed: October 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |