EnableCancelKey Property Example
This example disables CTRL+BREAK from interrupting a counter loop.
Application.EnableCancelKey = wdCancelDisabled For i = 1 To 10000 StatusBar = i Next i Application.EnableCancelKey = wdCancelInterrupt