By using listi.net you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

listi.net

 


Pause Running Macro - Esc or Ctrl Break

To pause a macro try
  • Esc
  • or Ctrl Break which may be Ctrl FN PgUp depending on your Function key settings

    You see the following dialog



    There are 4 buttons
  • Continue - continues running code
  • End - Ends the code
  • Debug - Puts you into debug mode
  • Help - Help key


    You can prevent the user from doing this with
  • application.EnableCancelKey = False


  • blog comments powered by Disqus