DDE Error: Cannot Obtain Data from Excel Error MessageLast reviewed: November 2, 1994Article ID: Q72772 |
SUMMARYThe error message "Cannot Obtain Data From C:\Excel\sheetname!R1C1" will occur when a document in Word for Windows has a hot link with an Excel worksheet and there is an .XLA (Excel add-in) or other file(s) in the XLSTART directory.
WorkaroundRemove all .XLA files, or any other files from the XLSTART directory.
MORE INFORMATIONAn Excel sheet can be linked to a Word for Windows document with a hot or a warm link. A hot link is created by clicking the Auto Update option in the dialog box that appears when you choose Paste Link from the Edit menu. When a hot link is created, reopening the document in Word for Windows will cause Word for Windows to automatically request the updated information from Excel by first starting Excel, then creating a DDE link to Excel for the original Excel sheet. Having an .XLA file in the XLSTART directory will cause the DDE link to fail because Excel loads the file after the Excel executable has loaded and prevents Excel from completing the DDE channel with Word for Windows.
WorkaroundsTake the XLA file out of the XLSTART directory or run Excel with the sheet open before opening the Word for Windows document.
Steps to Reproduce
REFERENCES"Microsoft Windows Applications Working Together," pages 14-17. "Microsoft Excel User's Guide." Version 3.0, pages 316-319.
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |