Excel: DDE Name "Microsoft Word" Does Not Work

Last reviewed: April 25, 1995
Article ID: Q91704
The information in this article applies to:
  • Microsoft Excel for the Macintosh, versions 3.0 and 4.0

SUMMARY

In 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 INFORMATION

The 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
KBSubcategory:

Additional reference words: 3.0 3.00 4.0 4.00



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 25, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.