Amazon.com

Disclaimer

All the tips/hints/fixes/other information posted here are at your own risk. Some of the steps here could result in damage to your computer. For example, using a Windows registry editor like RegEdit could result in unintended serious changes that may be difficult or impossible to reverse. Backups are always encouraged.

01 February 2010

Toolbars for Powerpoint 2007 Macros Are Unnecessary

Microsoft Office Powerpoint does not have persistent macros like in Word, so creating an add-in is required. However, you can create all macros in a PPTM (Macro-Enabled Powerpoint Presentation), and have an add-in (PPAM) where the AutoOpen () section merely opens the macro-containing file without a visible window. The macros can then be added to the Quick Access Toolbar in Powerpoint 2007.

Example:
Create a new Powerpoint Presentation and in VBA editor, add a module with the code below. Sign it with your personal digital signature and save it to a PPTM file and then save as a PPAM file.

Sub Auto_Open()

Application.Presentations.Open _
FileName:="pathtopowerpointfilewithdesiredmacros.pptm", ReadOnly:=msoFalse, Untitled:=msoFalse, WithWindow:=msoFalse

End Sub

in reference to: http://www.pptfaq.com/FAQ00031.htm (view on Google Sidewiki)