macro that creates a new macro

B

Bill Dilworth

Yes, but (...come on, you knew there had to be a 'but', didn't you?)...

In order for a Macro or Add-in to write to another macro, the end user must
allow access to the Visual Basic Project. Generally, allowing access to
this is discouraged, since it could allow disreputable programmers to plant
disruptive code into presentations. There is an example of this in action
on my MoveMe add-in at:
http://billdilworth.mvps.org/Add-ins.htm#MoveMe

If the user has allowed access, then you can write to a macro using the
ActivePresentation.VBProject methods.

--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
Top