Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Interruption?

I've started getting the error "Code Execution has been interrupted" but I
don't have the first clue what might be interrupting it... I'm pretty sure
it's nothing i'm doing.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Interruption?

http://support.microsoft.com/kb/146864/en-us
Error Trapping with Visual Basic for Applications

Don't know if that helps, because I don't know what you are doing.

--
Regards,
Tom Ogilvy

"PaulW" wrote:

I've started getting the error "Code Execution has been interrupted" but I
don't have the first clue what might be interrupting it... I'm pretty sure
it's nothing i'm doing.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Interruption?

The first time it happened was yesterday.

I had a list of 20,000 thousand calls. Rather than delete the ones I didn't
want, I thought I'd run a macro to count the ones I did to save on formulas
and calculating time.
I had the macro run though i = 5 to 20,010, and if cells(i,5) was less than
30 then I'd set rang = i & ":" & i and select rang and delete it.
When I ran the macro it looped to about row 300, deleting a few lines along
the way. Then that error showed up, since I could find nothing wrong with the
code (hell, it had already cycled 300 times) I just hit continue and it
continued to about row 450 and the same again. After hitting continue each
time it happened to row 1000 I got bored and did it manually with a sort and
such.

Second time it happened I had excel crash on me, then whenever I tried to
reopen it I got the error straight away, when it was trying to add a menu
with a command to a userform. This stopped erroring when I logged out and
back into the computer.

As far as I can tell, this error never pops up on anything I've done, but
something the system is doing, or Excel, or something...

"Tom Ogilvy" wrote:

http://support.microsoft.com/kb/146864/en-us
Error Trapping with Visual Basic for Applications

Don't know if that helps, because I don't know what you are doing.

--
Regards,
Tom Ogilvy

"PaulW" wrote:

I've started getting the error "Code Execution has been interrupted" but I
don't have the first clue what might be interrupting it... I'm pretty sure
it's nothing i'm doing.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro interruption: help!!! mario milani Excel Discussion (Misc queries) 1 November 30th 04 06:02 PM
macro interruption Mario Excel Worksheet Functions 3 November 30th 04 12:32 AM
macro interruption: help..... Mario[_9_] Excel Programming 1 November 25th 04 02:03 PM
Macro interruption Steve Farrar Excel Programming 1 March 1st 04 05:20 AM
Popup a Msg to Prevent Code Interruption Ricky Pang Excel Programming 4 August 2nd 03 05:52 AM


All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"