Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/102362

From BetaArchive Wiki
Knowledge Base

Article ID: 102362

Article Last Modified on 10/11/2006


  • Microsoft Excel 97 Standard Edition

This article was previously published under Q102362


In Microsoft Excel, you can find which of your currently open applications are capable of dynamic data exchange (DDE) by using the following macro function:


This function displays a DDE dialog box that lists all of the open applications and topics to which Microsoft Excel can open a DDE channel. You can then use other DDE commands such as EXECUTE() and SEND.KEYS() to control the other application.


Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. In Microsoft Excel versions 5.0, 7.0, and 97, you can use the following Visual Basic for Applications procedure to determine which of your open applications are capable of DDE:

   SUB Initiate_DDE ()
      ChanNum = Application.DDEInitiate("", "")
   End Sub

NOTE: Microsoft Excel version 5.0 for the Macintosh requires system software version 7.0 or later for this and other DDE functions to work.


"Function Reference," version 4.0, page 240

Additional query words: 2.0 2.00 2.01 2.1 2.10 3.0 3.00 4.00a 5.0 8.00 97 XL

Keywords: kbdtacode kbhowto kbinterop kbprogramming KB102362