By using listi.net you agree to our
cookie policy
, We and our partners operate globally and use cookies, for multiple purposes
Close
listi.net
Stop
The VBA Stop statement is used to Stop the VBA code from Running.
I often use it for debugging if I don't have the time to handle errors I use Stop.
A good practice is to wrap the stop in a routine
Sub Stop_it()
Stop
End Sub
then use the code
if x = 7 then Stop_it
Please enable JavaScript to view the
comments powered by Disqus.
blog comments powered by
Disqus