Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
1- Create a new Powerpoint presentation
2- Click the developer tab
a. If the developer tab does not appear:
i. File/Options/Customise Ribbon
ii. Enable the developer tab on the right hand side
3- In the developer tab, click the visual basic button
4- Add a module
5- Type the following macro:
Sub ShowMessage
MsgBox “This is a test”
End Sub
6- Close the visual basic editor
7- Save your presentation under the name of your choice. Here we will use Addin-test
8- Add a button to the ribbon:
a. Use the software Office RibbonX Editor. If you don’t have it, you can download it for free.
b. Open the Office RibbonX Editor
c. Open the Addin-test
d. Right click on it, and insert a custom UI Part
Then you can use this type of XML file:
<customUI xmlns="[URL unfurl="true"]http://schemas.microsoft.com/office/2006/01/customui">[/URL]
<ribbon>
<tabs>
<tab id="CustomTab" label="My Tab">
<group id="SampleGroup" label="Sample Group">
<button id="Button" label="Insert Company Name" size="large" onAction="ThisDocument.InsertCompanyName" />
</group >
</tab>
</tabs>
</ribbon>
</customUI>
e. Change the XML file to look like the following:
<customUI xmlns="[URL unfurl="true"]http://schemas.microsoft.com/office/2006/01/customui">[/URL]
<ribbon>
<tabs>
<tab id="CustomTab" label="Office Addin">
<group id="SampleGroup" label="Messages">
<button id="Button" label="Show Messages" size="large" onAction="ShowMessage" />
</group >
</tab>
</tabs>
</ribbon>
</customUI
f. Close the Powerpoint file
g. Save the Xml file by clicking on “Save”
h. Close the Xml file
9- Reopen the Powerpoint presentation
10- You will see the Office Addin button appearing on the ribbon
11- You can then change the visual basic editor, and change the macro at will
12- You should save the presentation also as a ppam file to make it part of the add-ins. It will automatically be saved using the path:
C:/Users/Your Name/AppData/Roaming/AddIns/
13- Click on the save button
14- You now have to install the add-in:
a. Open your Powerpoint presentation
b. Click on the developer button
c. Click on PowerPoint Add-ins
d. Click Add New
e. Select the Addin-test.ppam
f. Close the dialog box
g. You now have the Office Addin button appearing