Application.CalculationInterruptKey (Excel)

Sets or returns an XlCalculationInterruptKey constant that specifies the key that can interrupt Microsoft Excel when performing calculations.

xlAnyKey - Pressing any key interrupts recalculation, xlEscKey - Pressing the ESC key interrupts recalculation, xlNoKey - No key press can interrupt recalculation.
Application.CalculationInterruptKey = xlAnyKey
Application.CalculationInterruptKey procedure builder