Skip to main content
Search all of Office.com
Warning: This site requires the use of scripts, which your browser does not currently allow.
See how to enable scripts.
Stop a macro
Do one of the following:
If you want to stop a
(macro: An action or a set of actions that you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.)
that's currently running, press ESC, and click
Microsoft Visual Basic
If you want to prevent automatically running a macro when you start Microsoft Excel, hold down SHIFT during startup.