LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.word.vba.beginners
external usenet poster
 
Posts: 10,593
Default Beginners question: how to stop / abort execution of vba program

Well I looked an didn't see any saying how Excel crashes. Which is exactly
my point, attributing erroneous 'facts' to support an argument.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jezebel" wrote in message
...
Bob, really, this has been debated and resolved in times *long* past. Do a
Google on something like VBA +"End statement" to get chapter and verse on
it.



"Bob Phillips" wrote in message
...
I know, but I would assume that anyone wanting to use End would be

wanting
just that effect. As to your previous point, as I said previously, it is
bad
coding, but not End causing the problem, that problem will occur if the
code
is not self-tidying, with or without End.

Your advice about Google doesn't help me much, what search criteria do I
use. End and Excel crash gets millions, but none that I can see about
being
caused by an End statement (Problem is that End is ubiquitous, End If,

End
Sub, etc.)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jezebel" wrote in message
...
Using End in a VBA application also clears any global variables. Any
class
objects referenced by those variables are destroyed without notice, and
without the firing the class's Terminate event.











 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginners Question GordyB Excel Discussion (Misc queries) 3 February 1st 10 10:33 PM
Beginners Question Black_op51 Excel Discussion (Misc queries) 6 November 8th 06 11:46 PM
Stop Execution ArthurJ Excel Programming 2 September 10th 05 04:41 PM
Program execution prob PLPE[_11_] Excel Programming 2 June 30th 05 01:09 PM
stop execution al Excel Programming 3 October 2nd 04 01:20 AM


All times are GMT +1. The time now is 06:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"