How can I edit a ppa (addin) file?

Z

Zoo

Hi,
I made a .ppa addin file.
In module1 of the file, I written the following code:
Sub Auto_Open()
MsgBox "Open"
End Sub

Then I saved the file as c:\test.ppa and exited PowerPoint, and opened the
file again.

At first , I couldn't even view the source code of the ppa file.

Following the direction of http://skp.mvps.org/ppafaq.htm#6,
I added 'DebugAddin' registry key.

So , I succeeded in viewing the code. But , I still can't edit the source
code.
I modified the code on the VBA Editor and I saved it.
After closing PowerPoint, and opening the ppa file again,
I found that the changes of source code are lost.

How can I edit the ppa file?
Thanks in advance.
 
B

Bill Dilworth

Sorry Zoo, PPA's must be re-compiled into a new PPA.

Simply drag (or cut and paste) the module/class/forms to a new blank
presentation (PPT) make the changes and re-save as a PPA.


--
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
..
 
Z

Zoo

Thank you , Bill and Steve.

I think, it will be convenient
if there were a ppt that saves active presentation ppt file as a ppt file
automatically.

I will try to.
 

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

Top