Microsoft KB Archive/77211

{| = Excel: {PRTSC} Does Not Work with ON.KEY or SEND.KEYS =
 * width="100%"|

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 &quot;Microsoft Excel Function Reference&quot; 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 &quot;Microsoft Excel Function Reference,&quot; 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.