Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Disabled Macros.
Written by Allen Wyatt (last updated May 29, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
If you recently upgraded to new version of Excel, you may have run into a situation where the macros you created in the earlier version no longer run because they are disabled. This can be disturbing, particularly if you absolutely need the macros to get your work done.
The reason this happens is that Excel includes a macro security feature designed to help protect your system from potential hazards. The default setting is to automatically disable any macros in any workbook that are not digitally signed by a "trusted source" (for more info, search for Macro Security in Excel's online help).
This automatically presents a couple of possible solutions. The first possible solution is to get your macros "digitally signed." Such a process is beyond the scope of this tip, but you can find help on the process in the online help files or at the Microsoft Web site.
Finally, you can lower the default setting for the macro security used by Excel. For instance, you can set it so that Excel displays only a warning message about the macros rather than outright disabling them. To change the security setting, follow these steps:
Figure 1. The Macro Settings in the Trust Center dialog box.
Note:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11194) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Disabled Macros.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Your macros can easily open and manipulate other Excel workbooks. If a workbook you are trying to use is already in use ...
Discover MoreWant to know when a workbook was last modified? Want to put that date within the header of your worksheet? Here's how to ...
Discover MoreNeed to normalize your data in some way so that all your values are in a given format? This tip presents a number of ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments