ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Code Execution Continually Interrupted (https://www.excelbanter.com/excel-discussion-misc-queries/78002-code-execution-continually-interrupted.html)

Peter Bernadyne

Code Execution Continually Interrupted
 

Hi,

Don't know why this is happenning, but for some reason my macro, which
was working fine minutes ago, will now only run up to certain discrete
points in my code - alternately stopping at seemingly random spots and
with each iteration of every loop. At each of these, I get the:

"Code execution has been interrupted"

message from which I can then select Continue, but this is obviously
not satisfactory. I've cleared my breakpoints and have no other
visible obstruction to the code running, but I can't seem to get it to
run all the way through.

Does anybody have any ideas what setting I may have inadvertently
changed in my VBE to have caused this? I do remember trying the 'Run
to Cursor' option just before all this started happenning...is there
some special way of escaping this mode, perhaps?

Thanks in advance.

-Pete


--
Peter Bernadyne
------------------------------------------------------------------------
Peter Bernadyne's Profile: http://www.excelforum.com/member.php...fo&userid=7017
View this thread: http://www.excelforum.com/showthread...hreadid=523592


Peter Bernadyne

Code Execution Continually Interrupted
 

Looks like I'm not the only one with this problem:

http://www.excelforum.com/showpost.p...69&postcount=3


--
Peter Bernadyne
------------------------------------------------------------------------
Peter Bernadyne's Profile: http://www.excelforum.com/member.php...fo&userid=7017
View this thread: http://www.excelforum.com/showthread...hreadid=523592



All times are GMT +1. The time now is 07:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com