XL: DDE EXIT() Returns #VALUE! Error ValueLast reviewed: March 27, 1997Article ID: Q108723 |
1.00
WINDOWS
kbother kbprb kbtool
The information in this article applies to:
SYMPTOMSWhen a macro initiates a DDE channel to Microsoft Query and sends the EXIT() command from within the EXECUTE() function, the command will be evaluated to a #VALUE! error value. When you have a query open in Microsoft Query, the application will not end and will evaluate to a #REF! error value. Using the EXIT(TRUE) function will always end Microsoft Query and evaluate to the #VALUE! error value. EXIT() or EXIT(FALSE) will close Microsoft Query only if there are no open queries that were opened on another channel.
MORE INFORMATIONThe errors are returned when you execute a command through a DDE channel because Microsoft Query can only successfully return to Microsoft Excel after it has executed the entire command successfully. Once the application has terminated, it cannot return a response back to Microsoft Excel (at which time a #VALUE! error value must be returned).
Steps to Reproduce the Problem
|
KBCategory: kbother kbprb kbtool
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |