Excel: DDE Name "Microsoft Word" Does Not WorkLast reviewed: April 25, 1995Article ID: Q91704 |
The information in this article applies to:
SUMMARYIn versions 3.0 and 4.0 of the "Microsoft Excel Function Reference," the dynamic data exchange (DDE) name used for Microsoft Word for the Macintosh is incorrect. Macro examples for the INITIATE() function use "Microsoft Word" as the DDE name for initiating a channel to Microsoft Word. This results in the following error message:
"Cannot find data source"The correct DDE name for Microsoft Word is "Word.Document.6" (for Microsoft Word version 6.0) or "WordDocument" (for versions of Microsoft Word earlier than version 6.0).
MORE INFORMATIONThe INITIATE() function opens a DDE channel to another application. App_text, the first argument of the INITIATE() function, is the DDE name of the application with which you want to begin a DDE session. The following macro statement initiates a channel to a document named "Untitled1" in Microsoft Word for the Macintosh:
=INITIATE("WordDocument","Untitled1")Note that if you are using Microsoft Word 6.0 for the Macintosh, use the "Word.Document.6" argument.
REFERENCES"Microsoft Excel Function Reference," version 4.0, 240-241 "Microsoft Excel Function Reference," version 3.0, 130-131
|
KBCategory: kbother kbdocerr
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |