Barneye,
Yep. Declare a global variable ([tt]blnStop[/tt]?) and have your button set it's value to false. Then in your looping code add something like:
Code:
If blnStop Then
blnStop = False
Exit Sub 'or Function
End If
Hope this helps,
CMP
[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.