Unload an addin

  • Thread starter Thread starter Thierry Paradis
  • Start date Start date
T

Thierry Paradis

Hi!

To uninstall an add-in, i'm using a .vbs script. My problem is when Excel is
open and i try to "uninstall" the addin, i get an Access Denied error.
objXL.AddIns("LMI!Comptable").Installed = False

I think there's two ways to resolve my problem:

1- unload the add-in (possible?!?!?)
2-Check if Excel is open (possible?!??) and launch a warning to close it

What would be the better solution and how can we do this?

Thanks,

Thierry Paradis.
 
Can you not go to my computer and delete the file,

or in excel go to tools options and uncheck the add-in
 
In VBA I would use
workbooks("autosave.xla").Close

Isn't there some equivalent of that in vbs ?

Bas Hartkamp
 

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

Back
Top