Prevent a user from interrupting a macro with Ctrl+Break

Article contributed by Bill Coan

At start of macro

Application.EnableCancelKey = wdCancelDisabled

At end of macro

Application.EnableCancelKey = wdCancelInterrupt


Click to view Terms of Use page

Click to view Disclaimer page