Application.CalculationInterruptKey (Excel)

Sets or returns an XlCalculationInterruptKey constant that specifies the key that can interrupt Microsoft Excel when performing calculations. Possible return values are xlAnyKey - Pressing any key interrupts recalculation, xlEscKey - Pressing the ESC key interrupts recalculation, xlNoKey - No key press can interrupt recalculation.


Application.CalculationInterruptKey = xlAnyKey