Add this short snippet to the start of your Sub Main or beginning of executable code:
' Check for previous instance of program running
If App.PrevInstance = True Then
MsgBox App.ProductName & " is already running", vbOKOnly + vbExclamation, "Oops"
End...
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.