The information in this article applies to:
SYMPTOMSIf Microsoft Word or another application cannot open any additional dynamic data exchange (DDE) channels, the following message may be displayed:
CAUSEWhen using DDE to communicate between applications, a separate "channel" or line of communication for each DDE conversation is created. It is possible to have multiple DDE conversations happening at the same time. While there is no absolute limit to the number of DDE conversations that can exist simultaneously, there is a relative limit that depends on the amount of system resources available. This limit will vary from system to system. WORKAROUND
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT
YOUR OWN RISK. Microsoft provides this macro code "as is" without
warranty of any kind, either express or implied, including but not
limited to the implied warranties of merchantability and/or fitness
for a particular purpose.
For example, the following macro uses DDETerminate to close each DDE channel that is initiated.
To reproduce the "Session too complex...." error message, open Word
and Excel and run a macro that opens a number of DDE channels without
terminating the channels.
REFERENCES"Using WordBasic" by Wextech and Microsoft, pages 171, 172 Additional query words: channel dynamic data exchange
Keywords : kbwordvba |
Last Reviewed: December 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |