Hitting the BREAK on an Excel runaway, causes ALL eXcel workbooks to close

Art L 40 Reputation points
2025-09-23T13:31:48.9533333+00:00

Using Office 2019 on Windows 11, recently converted from Windows 10.

When I have a single Excel macro-enabled workbook open, and it is in some runaway endless-loop state, hitting "BREAK" will end execution as expected ... and bring up the dialog to "debug" or "end", allowing for inspection of the vba code.

When I have MULTIPLE workbooks open, and I hit BREAK on the during the execution on ONE of them, ALL Excel workbooks close WITHOUT WARNING leaving all pending changes unsaved, and leaving nothing for inspection.

Not sure whether this operated the same way under Windows 10.

Microsoft 365 and Office | Excel | For home | Android
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Kimberly Olaño 19,855 Reputation points Independent Advisor
    2025-09-23T14:11:36.7333333+00:00

    Hello! Art. Thanks for the details.

    What you’re seeing is not normal Excel behavior, hitting Ctrl+Break (or using the Break button on a full keyboard) should only interrupt the currently executing VBA project, not crash the entire Excel instance and close all open workbooks unsaved.

    Try to run Excel in separate processes:

    Instead of all workbooks sharing one process, launch each in its own instance:

    Open Excel, then use File → Options → Advanced → General → "Ignore other applications that use Dynamic Data Exchange (DDE)" → check it.

    Then start Excel from the Start menu again for each workbook. Each instance will be isolated — if one crashes, the others remain open.

    See if this helps. If you need further assistance, just let me know.

    Best regards,

    Kimberly


  2. Kimberly Olaño 19,855 Reputation points Independent Advisor
    2025-09-23T18:29:13.9566667+00:00

    Have you tried testing without add-ins?

    1. Go to File → Options → Add-ins.
    2. At the bottom, change Manage: COM Add-ins → Go... and disable them.
    3. Restart Excel and see if the crash still occurs when hitting Break.

  3. Kimberly Olaño 19,855 Reputation points Independent Advisor
    2025-09-23T22:25:49.3766667+00:00

    Got that. File → Account → About Excel → check if you’re on Excel 2019 build 103xx or newer. Some interim builds have regressions that later patches resolve.


  4. Kimberly Olaño 19,855 Reputation points Independent Advisor
    2025-09-24T02:40:18.6266667+00:00

    Microsoft officially does not support mixing 32-bit and 64-bit Office components on the same Windows machine. That means if you install Office 2019 x64, you can’t keep Visio 2003 x86 running alongside it in the same “Office family” space.

    The Office installer will either refuse the install or force you to uninstall the 32-bit component first.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.