Excel VBA App stops spontaneously with message “Code execution has been halted” October 25, 2022 by Tarik I have found a 2nd solution. Press “Debug” button in the popup. Press Ctrl+Pause|Break twice. Hit the play button to continue. Save the file after completion.