script for loding addin

L

Lina

Hi
Im trying to make a vsscript for loding a powerpoint addin. I try to do it
the same way that I ve done it for excel but can not get it to work for ppt.
Is there a way to get it to work?
 
L

Lina

this is my code

Set oPPT = createobject("PowerPoint.application")
set myAdd = oPPT.addins.add("c:\test\myglobalppt.ppa")
myAdd.load = true

I have also tryed maadd.autoload = true
 
L

Lina

Unfortunately it still does not work. It opens and closes powerpoint but it
does not add the addin. Any other proposal? Or any other suggestion how to
get the addin to load automatically?
 
Top