add vba module using VBA

  • Thread starter Thread starter hfli999
  • Start date Start date
H

hfli999

Hi, All,

I would like to create a powerpoint file using powerpoint add-in. I
need vba module included with the .ppt file. Any idea how to do this?

Thanks,

hfli999
 
Firstly, you can set a reference to Microsoft vba extensibility 5.3 (Tools >
References) and then do this from your add in. If you email me I will send
you sample code.

However this is almost certain to cause you problems if you are distributing
the add in because you will have to convince users to enable add ins to
modify the vb editor in their securtiy setting and set the level low enough
to let the macro run. This will expose them to all sorts of threats and they
will probably be loathe to comply.

It may be easier to get them to allow your addin to load a template that
already has the module (still security implications though) or to manually
load the code from an exported module.
--
Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
 
Hi, All,

I would like to create a powerpoint file using powerpoint add-in. I
need vba module included with the .ppt file. Any idea how to do this?

Thanks,

hfli999

Thanks again.
 
Back
Top