ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Code breaking without reason (https://www.excelbanter.com/excel-programming/374196-code-breaking-without-reason.html)

Daniel Bonallack

Code breaking without reason
 
I can't work this out
My macro just stops as if I have hit "Ctrl + Break", and a message tells me
"Code execution as been interrupted". So I press "Debug", and the yellow
highlight is sitting on an inoffensive and previously trouble-free line, and
if I hit F5, it continues on and finishes OK. This macro has always worked
well. I don't have any watch windows, and no break points.
Any ideas?

Thanks
Daniel

Mike[_51_]

Code breaking without reason
 
You might try suing Bill Gates. Or you could post your code and point out
where it stops and maybe someone can spot the problem.

Mike F
Daniel Bonallack wrote in
message ...
I can't work this out
My macro just stops as if I have hit "Ctrl + Break", and a message tells

me
"Code execution as been interrupted". So I press "Debug", and the yellow
highlight is sitting on an inoffensive and previously trouble-free line,

and
if I hit F5, it continues on and finishes OK. This macro has always

worked
well. I don't have any watch windows, and no break points.
Any ideas?

Thanks
Daniel




Daniel Bonallack

Code breaking without reason
 
Thanks Mike

I don't think I'll get any satisfaction from posting the code, so I think
I'll sue Bill.

Actually, I switched machines and had no problems, so I'm going to sue Dell
instead.

regards
Daniel


"Mike" wrote:

You might try suing Bill Gates. Or you could post your code and point out
where it stops and maybe someone can spot the problem.

Mike F
Daniel Bonallack wrote in
message ...
I can't work this out
My macro just stops as if I have hit "Ctrl + Break", and a message tells

me
"Code execution as been interrupted". So I press "Debug", and the yellow
highlight is sitting on an inoffensive and previously trouble-free line,

and
if I hit F5, it continues on and finishes OK. This macro has always

worked
well. I don't have any watch windows, and no break points.
Any ideas?

Thanks
Daniel






All times are GMT +1. The time now is 02:47 PM.

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