Stop a macro
Do one of the following:
- If you want to stop a macro that's currently running, press ESC, and click End in the Microsoft Visual Basic dialog box.
- If you want to prevent automatically running a macro when you start Microsoft Excel, hold down SHIFT during startup.