Excel: Can't Use EXEC() Task ID with APP.ACTIVATE()

Last reviewed: September 12, 1996
Article ID: Q106205
The information in this article applies to:
  • Microsoft Excel for Windows, versions 2.x, 3.0, 4.0, 4.0a
  • Microsoft Windows operating system version 3.1

The "Function Reference" states that the EXEC() function task ID number can be returned to the APP.ACTIVATE() function. However, if you are running Microsoft Excel with Microsoft Windows 3.1 and you use the task ID number returned by the EXEC() function in an APP.ACTIVATE() function, you will receive a macro error. This error occurs because, under Windows 3.1, the APP.ACTIVATE() function requires the application's Title_Text, and does not accept a Task_Id_Number.

REFERENCES

"Function Reference," version 4.0, pages 18, 138 "Function Reference," version 3.0, pages 10, 70 "Functions and Macros," version 2.0, pages 249, 275


KBCategory: kbdocerr
KBSubcategory:

Additional reference words: 2.00 2.01 2.10 3.00 4.00 4.00a DDE



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: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.