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...