Application.EnableCancelKey = xlDisabled
'
' your code here
'
Application.EnableCancelKey = xlInterrupt
Use the xlDisabled setting with caution. If you get in to an infinite loop,
there is no way to get out other then Ctrl+Alt+Delete to close Excel.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.