We have a number of "automations" built into Excel documents using VBA that are used frequently in our business. Recently, a couple of our users have been getting a message box popping up on them when attempting to run the macros. It states "Code execution has been interrupted" as if someone had pressed ctrl+break. The options available are Continue, End, and Debug. Debug points to random lines of code each time. When continue is pressed, it moves right along without issue and gets the message again on a subsequent random line later in the code. Continuing to press continue allows the macro to finish.
Out of more than 40 users, only 2 have experienced this. I have googled this issue to death and found no indication of what causes it. Does anyone know why this might be happening and how to make it stop?
Out of more than 40 users, only 2 have experienced this. I have googled this issue to death and found no indication of what causes it. Does anyone know why this might be happening and how to make it stop?