Results 1 to 3 of 3

Thread: Code Execution Interrupted

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    234

    Code Execution Interrupted

    Hate to bring up an old topic, but I am still having problems.

    Seems VBA does not like breakpoints set in other versions of VB, because everything was working fine untill I decided to set a breakpoint in my VB6 code, so the next time my Solver macro ran, it threw up that error, prompting me to hit Continue a bunch of times.

    Resetting the machine is the only way out of this. Peculiarly enough, when excel is not in focus, the problem does not come up.

    I was able to find quite a few hits on Google about this problem, but no solution, just posts asking people with the problem to post code.

    Any ideas? One post suggested disabling the Esc key...

  2. #2
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Code Execution Interrupted

    Sorry, what's the problem?

    You're calling some VB6 code with a breakpoint in it from Excel and it throws up errors?
    I use VB 6, VB.Net 2003 and Office 2010



    Code:
    Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA,VB.Net) | Coordinates, Vectors and 3D volumes

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    234

    Re: Code Execution Interrupted

    Quote Originally Posted by zaza
    Sorry, what's the problem?

    You're calling some VB6 code with a breakpoint in it from Excel and it throws up errors?
    close, code in VB6 with a breakpoint in it is calling a macro setting up and running solver in excel, and excel throws up errors.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width