View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ben McBen Ben McBen is offline
external usenet poster
 
Posts: 56
Default Application.Quit out of Do loop

VBA's ability, on the odd occaision, to obfuscate what must be underlying
machine code logic, to a mirage of strange magic, leaves me stunned- Just as
well we love it eh?

"JLGWhiz" wrote:

While doing some housekeeping on some old VBA procedures, I stumbled on this
anomaly of Application.Quit not executing out of a Do loop. Just wondered if
someone can explain why it is necessary to Exit Do before the Quit method
will execute?