![]() |
#6
|
|||
|
|||
![]()
Well if the first one doesn't have a description defined it wouldn't print and then none of the rest would because you are exiting the For ... Each loop.
The idea is to try to find a unique identifier for the Add-in you want to disconnect. Try: Sub printdescriptions() Dim lngIndex As Long Dim oCAIs As COMAddIns Set oCAIs = Application.COMAddIns For lngIndex = 1 To oCAIs.Count Debug.Print Application.COMAddIns(lngIndex).Description Debug.Print Application.COMAddIns(lngIndex).ProgID Debug.Print Application.COMAddIns(lngIndex).GUID Next End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Word VBA code to enable a COM Add-In | wordguy | Word VBA | 0 | 06-13-2017 01:52 PM |
![]() |
copleyr | PowerPoint | 1 | 10-07-2016 01:15 AM |
How to automatically enable macros upon opening the Word? | laurieli | Word VBA | 2 | 12-22-2015 02:46 PM |
VBA code to enable Regular Expression | ronmayerle | Word VBA | 2 | 11-20-2014 01:09 PM |
![]() |
anfas | Word | 2 | 11-21-2013 10:23 PM |