View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bill in Inverness Bill in Inverness is offline
external usenet poster
 
Posts: 5
Default VBA code halts after opening a file

Thanks for your thoughts. The test file has only one sheet, so that didn't cause the problem.

Tom and Dave seem to have figured this one out -- holding the shift key down during loading a file halts execution. So Macros of the form <Ctrl<Shift are dangerous!

I'd like to see this noted somewhere in Microsoft's documentation on writing macros.