VBA add-in removing

Joined
Jun 13, 2007
Messages
2
Reaction score
0
Hi!
I have vba add-in, that I want to delete from addins list. I wrote so code:

Dim addinIndex As Integer
Dim objAddIn As addin
addinIndex = 0
For i = 1 To AddIns.Count
If UCase(AddIns(i).Name) = UCase(MY_FILE_NAME) Then
addinIndex = i
Exit For
End If
Next

If addinIndex > 0 Then
Set objAddIn = AddIns(addinIndex)
objAddIn.Installed = False
End If


But addin is still in list. I use excel 2007. There was some solution to remove addin from excel 2003 but now this solution is unavailable :(.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top