Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-10-2019, 03:26 AM
gmayor's Avatar
gmayor gmayor is offline Using VBA to enable a COM ADD-IN Windows 10 Using VBA to enable a COM ADD-IN Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Security may prevent this from working, but in theory the following should work

Code:
Sub Macro1()
Dim oAddIn As COMAddIn
    For Each oAddIn In Application.COMAddIns
'Debug.Print oAddIn.Description
        If oAddIn.Description Like "*Dragon*" Then
            oAddIn.Connect = Not oAddIn.Connect
            Exit For
        End If
    Next oAddIn
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 

Tags
dragon naturallyspeaking



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA code to enable a Word COM Add-In wordguy Word VBA 11 06-16-2017 12:26 PM
Help with Word VBA code to enable a COM Add-In wordguy Word VBA 0 06-13-2017 01:52 PM
Using VBA to enable a COM ADD-IN enable and disable macro MANOHAR Word VBA 2 01-14-2017 02:55 PM
Using VBA to enable a COM ADD-IN Force a user to enable macros in Powerpoint? Hide sheets until the "enable" button is clicked copleyr PowerPoint 1 10-07-2016 01:15 AM
How to enable PowerPoint Macros? delete123 PowerPoint 3 03-27-2012 06:56 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft