Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. 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: Automatically Loading Add-ins.
by Allen Wyatt
(last updated September 2, 2017)
Michael asked if there is a way to selectively load add-ins for specific worksheets. There is a way to do this, but it involves the use of macros attached to the Workbook module for the specific worksheets. Follow these general steps:
Figure 1. Double-click the ThisWorkbook object in the Project Explorer.
Private Sub Workbook_BeforeClose(Cancel As Boolean) AddIns("Add-In Name").Installed = False End Sub
Private Sub Workbook_Open() AddIns("Add-In Name").Installed = True End Sub
If you are not sure of the correct name for a particular add-in (see step 5), you can use the macro recorder to record the process of activating an add-in. That will show you the exact name you should use in the above macros.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11788) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Automatically Loading Add-ins.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Excel can check the data and formulas in your worksheet to see if it detects any errors. The rules used for this checking ...Discover More
When you make changes in a worksheet, Excel automatically recalculates everything that may be affected by that change. If ...Discover More
Some formulas require the use of circular references in order to determine a result. If you want to make sure that ...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.