Disable COM Addin
- From: "Venu Gopal" <venukus@xxxxxxxxxxx>
- Date: Wed, 18 May 2005 22:35:53 +0530
Hi,
I have a COM Add-in which works with CommandBars by Enabling and
Disabling them. The code works fine.
But I am concerned if there is another COM Add-in which does the
similar job of enabling and disabling commandbars. So in that case,
what I have done to commandbars may be undone by another Add-in.
How do I disable other Add-ins when my add-in is running.
I have used the following code
For Each addin In App.COMAddIns
If Not addin.Description = "Test Add-in" Then '
"Test Add-in" is the description of my Addin
addin.Connect = False
End If
Next
But this dont seem to work. Can anybody help.
Thanks,
Venu
.
- Prev by Date: Pasting cells from Excel to PowerPoint
- Next by Date: How to Close an Object
- Previous by thread: Pasting cells from Excel to PowerPoint
- Next by thread: How to Close an Object
- Index(es):
Relevant Pages
|
|