Share PowerPoint Macros and Ribbon Customizations in a File
Question details
The user needs to understand how to include PowerPoint macros and custom ribbon or Quick Access Toolbar settings in a presentation file so the customizations travel with the .pptm template.

- Product
- Microsoft PowerPoint (macro-enabled .pptm presentation)
- Device & OS
- not provided
- Scenario
- The user is preparing a standardized PowerPoint template and wants recipients to have prepared macro commands and toolbar customizations immediately after opening the file.
- Observed behavior
- Macros are preserved in a .pptm file, but built-in ribbon customizations are normally stored per Office installation and are not embedded in the presentation.
Confirm the presentation is saved as a PowerPoint Macro-Enabled Presentation (.pptm) and that the macros you want to share already run correctly in the VBA editor.
Embed the ribbon customization with Ribbon XML in a Custom UI Editor
Use this method when you need a true document-level custom ribbon tab that travels with the .pptm file and appears for recipients.
A PowerPoint file can contain a custom Ribbon XML part that defines buttons tied to the presentation's macros. Unlike built-in ribbon customization, this XML part is stored inside the document and is shared when you distribute the .pptm file.
In PowerPoint, open the presentation, go to File > Save As, choose PowerPoint Macro-Enabled Presentation (*.pptm), and save a working copy.
Launch the Custom UI Editor tool, click Open, and select the .pptm file you just saved.
In the Custom UI Editor, add or paste ribbon XML that references your macro callbacks using the correct tab, group, and button controls.
Click Validate to check the XML, then save the .pptm file. Reopen it in PowerPoint and confirm the custom ribbon appears.
Send the saved .pptm file to users and remind them to enable macros or active content when PowerPoint prompts.
Customize the Quick Access Toolbar for the specific presentation
Use this simpler alternative when you only need one-click access to macros from the Quick Access Toolbar and do not require a separate ribbon tab.
Use WPS Office to Open and Edit PowerPoint Files Without Microsoft Office
WPS Office is a free, lightweight Office suite that can open, edit, and save PowerPoint presentations with a familiar ribbon interface and strong format compatibility. It is a practical alternative for users who need to distribute standard slide templates without Microsoft Office licensing, even though advanced PowerPoint Ribbon XML and VBA macro distribution are Microsoft Office-specific workflows.

Frequently Asked Questions
Why don't my PowerPoint ribbon customizations move with the .pptm file?
Built-in PowerPoint ribbon customizations are saved per Office installation, not inside the presentation. To make them travel with the file, create a document-level ribbon using Ribbon XML in a Custom UI Editor, or customize the Quick Access Toolbar specifically for that presentation.
Which file format should I use to share PowerPoint macros?
Save the presentation as a PowerPoint Macro-Enabled Presentation with the .pptm extension. A standard .pptx file does not preserve macros.
Can WPS Office create PowerPoint Ribbon XML customizations?
WPS Office is a free alternative for opening and editing PowerPoint files, but the Ribbon XML and Custom UI Editor workflow is Microsoft Office-specific. Use Microsoft PowerPoint for document-level ribbon customization.
Will recipients need to enable macros for the shared file?
Yes. When recipients open the shared .pptm file, PowerPoint may show a security prompt. They need to enable macros or active content for the custom buttons to run.
Can I share a Quick Access Toolbar setting for only one presentation?
Yes. Go to File > Options > Quick Access Toolbar, choose the specific presentation from the customization drop-down list, add the macros, and save the file as .pptm.




