macro that creates a new macro

  • Thread starter Thread starter Guest
  • Start date Start date
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
..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top