Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.5 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.5 KB

Build the plugin

PowerPoint plugins are created with the VBA programming language this way:

  1. Add sources (.bas, .frm, .frx) into a new blank PowerPoint presentation with macros (.pptm)
  2. Configure the presentation
  3. Export the powerpoint presentation into a PowerPoint add-in (.ppam)

Add sources

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.

Add custom UI

Custom UI - Microsoft Docs

Every .pptm presentation is just ZIP archive.

Do these steps inside such an archive:

  1. Create PPVoting/
  2. Copy ui.xml to PPVoting/
  3. Edit _rels/.rels:
    <!-- Insert inside <Relationships>...</Releationships> -->
    <Relationship
        Id="PPVotingRelID"
        Type="http://schemas.microsoft.com/office/2006/relationships/ui/extensibility"
        Target="PPVoting/ui.xml"/>

Configure

References

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

Export

Save the presentation as a .ppam (PowerPoint add-in) file.