View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.programming
Bernd P Bernd P is offline
external usenet poster
 
Posts: 806
Default VBA: How to match two sets?

...
Debug.Assert False behaves identically to Stop. I use it if I am in
sort of a hurry: If there is not enough time to take care of all
possible error conditions (with adequate messages, logs, etc.) then I
try to ensure at least the success conditions for a program first.


Thanks. Is there ever a reason to use one over the other?
...


Correction: I use Debug.Assert <success condition if I am in sort of
a hurry. Debug.Assert False I never use. Stop should be used then.

Regards,
Bernd