Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!trwind!venice!press From: press@venice.SEDD.TRW.COM (Barry Press) Newsgroups: comp.windows.ms.programmer Subject: Re: Communication between applications Message-ID: <1072@venice.SEDD.TRW.COM> Date: 1 May 91 20:37:26 GMT References: Reply-To: press@venice.sedd.trw.com (Barry Press) Organization: TRW Systems Engineering & Development Division, Redondo Beach, CA Lines: 22 In article cgross@surya.UWaterloo.CA (Christian Gross) writes: > Is there any way that an application that I have written can >exchange data with MS Excel / MS Word. I do not mean that the >operator uses Copy and paste. What i would like to do is set up the >latter two programs using marcos or formulas to grab data from my What you want is DDE (Dynamic Data Exchange). This is a "standardized" protocol for Windows apps to communicate with each other, and is supported by both apps you mention as well as a lot of others. The protocol is documented (more or less) in the SDK. The bad news is that a robust implementation requires a lot of code. The good news is that, according to the trade rags, Microsoft has developed a DLL that does the job, providing an API to programmers. The bad news is that mortals can't get it. Or the docs for using windebug.dll. Or a lot of other stuff. -- Barry Press Internet: press@venice.sedd.trw.com