PowerPoint plugins are created with the VBA programming language this way:
- Add sources (
.bas
,.frm
,.frx
) into a new blank PowerPoint presentation with macros (.pptm
) - Configure the presentation
- Export the powerpoint presentation into a PowerPoint add-in (
.ppam
)
First, load all the .bas
files from src
into the presentation.
All the dependencies are already included there. Note that some dependency files were modified.
Every .pptm
presentation is just ZIP archive.
Do these steps inside such an archive:
- Create
PPVoting/
- Copy
ui.xml
toPPVoting/
- Edit
_rels/.rels
:<!-- Insert inside <Relationships>...</Releationships> --> <Relationship Id="PPVotingRelID" Type="http://schemas.microsoft.com/office/2006/relationships/ui/extensibility" Target="PPVoting/ui.xml"/>
Set in "Visual Basic" window > "Tools" menu > "References...".
This plugin was successfully built with the following references:
- Visual Basic for Applications
- Microsoft PowerPoint 16.0 Object Library
- Microsoft Office 16.0 Object Library
- Microsoft Forms 2.0 Object Library
- Microsoft Scripting Runtime
Save the presentation as a .ppam
(PowerPoint add-in) file.