![]() |
|
|
|
#1
|
||||
|
||||
|
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 |
|
| Tags |
| dragon naturallyspeaking |
| Thread Tools | |
| Display Modes | |
|
|
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 |
enable and disable macro
|
MANOHAR | Word VBA | 2 | 01-14-2017 02:55 PM |
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 |