Reputation: 768
can we create some like executable file which add add-in directly to the powerpoint in one click. OR can we do it programmatically using VBA/VB?
Thanks.
Upvotes: 0
Views: 1353
Reputation: 3528
Slight correction. The reg key to automatically load a PPA/PPAM addin would be in:
HKEY_CURRENT_USER\Software\Microsoft\Office\xx.0\PowerPoint\AddIns\Addin_name
where xx.0 is the PPT version you're targeting (eg 14.0 as in assylias' example) and addin_name is the name of your addin.
Two values under that key:
AutoLoad
DWORD = ffffffff hex
Path
String = the full path to your PPA/PPAM file
== To load an add-in programmatically, you'd do:
Application.Addins.Add "Full path to PPA or PPAM file"
Upvotes: 1
Reputation: 328608
You can do that in 2 ways (AFAIK):
Upvotes: 1