by Allen Wyatt
(last updated February 23, 2019)
When you open a workbook, Excel normally runs any automatic macros that are saved with the workbook. Paul notes that in previous versions of Excel he could hold down the Shift key as the workbook was opened and Excel would not run the automatic macros. In Excel 2007 this doesn't seem to work for Paul, so he wonders if Microsoft has changed this convention.
The short answer is no, Microsoft has not changed this convention. When you open a workbook and hold down the Shift key as it is opening, Excel should ignore any automatic macros set up for the workbook. If that behavior is not what you are experiencing on your system, it could be that you aren't actually holding down the Shift key at the start of the loading process or you aren't holding it down long enough. Make sure you hold the Shift key as you click on the Open button (in the Open dialog box) or as you click the file in the MRU.
For a great, in-depth exposition of how all this works, visit this page on the site maintained by Excel MVP Jan Karel Pieterse:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8769) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
When reading information from a text file, your macro may need to start reading at a place other than the beginning of ...Discover More
The macro programming language used in Excel gives you a great many tools that allow you to modify the way that Excel ...Discover More
Excel allows you to easily paste graphics into a worksheet. Once added, you may want to quickly process the graphics by ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.