Microsoft KB Archive/72922

{| = CANCEL.KEY Example in Function Reference Incorrect =
 * width="100%"|

Last reviewed: November 2, 1994

Article ID: Q72922

SUMMARY
Page 26 of the &quot;Microsoft Excel Function Reference&quot; for version 3.0 gives the following example using the CANCEL.KEY macro function:

=CANCEL.KEY(TRUE,CheckCancel) Executing this statement in a macro causes a macro named CheckCancel to run whenever the ESC key is pressed. In most situations, this will generate an error. The example should read:

=CANCEL.KEY(TRUE,CheckCancel)