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

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

Additional query words: 2.00 2.01 2.10 4.00a DDE

Keywords :
Version : 2.x 3.00 4.00 4.00a
Platform : WINDOWS
Issue type :
Technology :

Last Reviewed: April 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use.