Excel: {PRTSC} Does Not Work with ON.KEY or SEND.KEYS

Last reviewed: November 30, 1994
Article ID: Q77211
The information in this article applies to:
  • Microsoft Excel for Windows versions 3.0, 4.0
  • Microsoft Excel for the Macintosh version 3.0
  • Microsoft Excel for OS/2 version 3.0

SUMMARY

The Microsoft Excel ON.KEY macro command runs a specified macro when a particular key or key combination is pressed. Page 166 of the "Microsoft Excel Function Reference" for version 3.0 includes {PRTSC} as a valid code for running a macro. This is incorrect. Attempting to use {PRTSC} will not work under Windows, OS/2 or on the Macintosh.

The gray and white function and reference guide that is currently shipping with Excel for OS/2 does not include this error nor does the "Microsoft Excel Function Reference," version 4.0.

Page 166 (version 3.0) and page 302 (version 4.0) also lists {CLEAR} as a valid code. However, this code is only available on the Macintosh.

REFERENCES

"Microsoft Excel Function Reference," version 4.0, page 302.

"Microsoft Excel Function Reference," version 3.0, page 166.


KBCategory: kbdocerr
KBSubcategory:

Additional reference words: 3.0 3.00 4.0 4.00 grey


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: November 30, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.