Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

create and use an add-in in powerpoint 365

create and use an add-in in powerpoint 365

create and use an add-in in powerpoint 365

I created a vba (macro) in powerpoint 365. I would like that vba to be launched by and add-in button on the ribbon.
How would I do that?
Thank you.

RE: create and use an add-in in powerpoint 365

If I understand correctly you can
  1. Right click the ribbon and select "Customize the Ribbon"
  2. Create a custom group on one of the Main Tabs
  3. Change "Popular Commands" to "Macros"
  4. Select the macro to add

Hook'D on Access
MS Access MVP 2001-2016

RE: create and use an add-in in powerpoint 365

Hi dhookom,
Here are all the steps:

CODE -->

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="http://schemas.microsoft.com/office/2006/01/customui"> 
       <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 > 
e.	Change the XML file to look like the following:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> 
       <tab id="CustomTab" label="Office Addin"> 
         <group id="SampleGroup" label="Messages"> 
           <button id="Button" label="Show Messages" size="large" onAction="ShowMessage" /> 
         </group > 
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 
You might want to listen to the youtube link I sent in my previous post. The explanations are more complete.
Hope it helps.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close