how to delete an 'inactive' add-in

M

MikeB77

Hello
I'm trying to delete a global add-in with vba. The code running is not in
the addin.

I can un-install it: oAddin.Installed = False
and also 'delete' it: oAddin.Delete
yet it remains as an 'inactive add-in' when viewed in the add-ins tab.
But when I try and kill it: Kill myAddinFileName
I don't get an error message (as I would if it was in use) but it does not
delete. I assume Word is holding on to it. I can kill other file types so I
assume I've got the path etc right.

I can manually delete it with explorer (while Word runs) tho can't figure
out how to call explorer from vba to do this.

Word 2002 and 2007.
any suggestions?

Thanks

Mike
 

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