I did not do this on purpose, but the link I'm using has this to say about your question:
Add-on add-ins are loaded in the same way as regular .xla add- .xla , but using ProgID instead of the file name, as in the following code:
Sub installAutomationAddIn() AddIns.Add Filename:="Excel2007ProgRef.Simple" AddIns("Excel2007ProgRef.Simple").Installed = True End Sub
If you are creating an installation procedure for your add-in, you may want to write it directly to the registry in order to install the automation add-in as installed. To do this, you need to create the following registry entry (which already exists if you used the above code).
(In the Registry Key:) HKEY_CURRENT_USER\SOftware\Microsoft\Office\12.0\Excel\Options (Create the string value:) Name = the first unused item in the series: Open, Open1, Open2, etc. Value = /A "Excel2007ProgRef.Simple"
source share