Remove Excel AddIn from AddIn List !! Help

  • Thread starter Thread starter carl
  • Start date Start date
C

carl

Hi, Is there a way to remove in VBA an Excel AddIn that
had been Install and loaded in VBA?

I have tried to removed it in the Registry.
the path1: Software\Microsoft\Office\9.0\Excel\Options

The Key : OPEN
this Key is created when installing the AddIn In VBA.
But When installing it Manualy, the Path is not the same.

Path2: Software\Microsoft\Office\9.0\Excel\Add-in Manager

Even when deleting the two of them, the information
rewrite it self in the registry in Path2 !!!!!
My Addin is already close when that append.
Is there a way to remove the Add in from Add In list ?

Thank for any suggestion !!!
 
In VBA use

Application.AddIns("MyAddin").Installed=False

You can use the registry, but when Excel closes, it will
update th eregistry as per the add-in mamager, so any
changes that you made will be overwritten.

Patrick Molloy
Microsoft Excel MVP
 
the name is still in list...

this the code
i use to linstall and load the AddIn

ExcelApp.AddIns.Add FileName:=AddinName '
ExcelApp.AddIns(ADDIN_NAME).Installed = True

i think it is good.
 
Back
Top