title: Excel VBA App stops spontaneously with message "Code execution has been halted"
body: <p>From what I can see on the web, this is a fairly common complaint, but answers seem to be rarer. The problem is this:</p>
  
  <p>We have a number of Excel VBA apps which work perfectly on a number of users' machines. However on one machine they stop on certain lines of code. It is always the same lines, but those lines seem to have nothing in common with one another.</p>
  
  <p>If you press F5 (run) after the halt, the app continues, so it's almost like a break point has been added. We've tried selecting 'remove all breaks' from the menu and even adding a break and removing it again.</p>
  
  <p>We've had this issue with single apps before and we've 'bodged' it by cutting code out of modules, compiling and then pasting it back in etc.</p>
  
  <p>The problem now seems to relate to Excel itself rather than a single .xls, so we're a little unsure how to manage this.</p>
  
  <p>Any help would be gratefully received :)</p>
  
  <p>Thanks,</p>
  
  <p>Philip Whittington</p>