Microsoft KB Archive/43520

CANCEL.KEY Function Does Not Work in a Dialog Box PSS ID Number: Q43520 Article last modified on 02-26-1993 PSS database name: W_eXceL

2.x 3.00

WINDOWS

Summary:

The CANCEL.KEY Excel macro function disables macro interruption. Pressing ESC will not stop the execution of the macro if CANCEL.KEY has been run.

The CANCEL.KEY function does not work within default or custom dialog boxes called up by a macro. In dialog boxes, the ESC key will still cancel the dialog box.

Additional reference words: 2.0 2.00 2.01 2.1 2.10 3.0 3.00

Copyright Microsoft Corporation 1993.