You can set up a conditional:
If (iNeedtoStop == true) Then
Return
End If
if(iNeedToStop)
return;
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Shapper" wrote:
Hello,
Is there a way to stop a function? Something like:
Sub My Function()
...
Stop This Function
...
End Sub
Thanks,
Miguel