
In the Add-Ins available box, select the check box next to the add-in that you want to activate, and then click OK. In the Manage box, click Excel Add-ins, and then click Go.
#Disable excel add ins code#
I have another code which finds out how many COM Addi ns or Excel Add ins are available and print their name and location in active sheet. Click the File tab, click Options, and then click the Add-Ins category. This article provides details on configuring the Block all unmanaged add-ins and List of managed add-ins group. Additionally, these can be configured to allow a user to control the use of a specific add-in. An administrator may use these settings to enable or disable specific add-ins.

This works fine for anyone if you know which particular COM Addin or Excel Addin you want to block.īUT My question: Is there any method do block all add in without mentioning it's name at Workbook_Open and re-activate them after closing my PROJECT.xlsm? Microsoft Outlook 2013 and Outlook 2016 include group policy settings that control how add-ins are managed. In the Office Add-Ins window, click the menu option (three dots) for the specific add-in and click on Remove. If you don’t see your add-in, then click on the Refresh link at the top of the window.

Private Sub Workbook_BeforeClose(Cancel As Boolean)ĭo While AddIns("RDBMerge Add-in").Installed = FalseĪddIns("RDBMerge Add-in").Installed = Trueĭo While Application.COMAddIns("TFCOfficeShim.Connect.3").Connect = FalseĪpplication.COMAddIns("TFCOfficeShim.Connect.3").Connect = Trueĭo While Application.COMAddIns("DeTong.KTELoader").Connect = FalseĪpplication.COMAddIns("DeTong.KTELoader").Connect = Trueĭo While Application.COMAddIns("DeTong.KTEHelper").Connect = FalseĪpplication.COMAddIns("DeTong.KTEHelper").Connect = True When you want to remove an add-in, go to Ribbon > Add-Ins > My Add-ins.
