Look at the InsertCode() macro at http://officeone.mvps.org/vba/insert_code.html - you should be able to use
that macro straight after adding the "PowerPoint" and "Visual Basic for
Applications Extensibility" references to your VB project.
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.