Office Settings & Configuration

Share PowerPoint Macros and Ribbon Customizations in a File

Jason MillerJason Miller Nov 13, 2026 869 views

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.

Share PowerPoint Macros and Ribbon Customizations in a File
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.
Before you start

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.

Solution 1Recommended

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.

1
Save the presentation as a .pptm file

In PowerPoint, open the presentation, go to File > Save As, choose PowerPoint Macro-Enabled Presentation (*.pptm), and save a working copy.

2
Open the .pptm in the Custom UI Editor

Launch the Custom UI Editor tool, click Open, and select the .pptm file you just saved.

3
Insert ribbon XML for your macros

In the Custom UI Editor, add or paste ribbon XML that references your macro callbacks using the correct tab, group, and button controls.

4
Validate and save the file

Click Validate to check the XML, then save the .pptm file. Reopen it in PowerPoint and confirm the custom ribbon appears.

5
Share the .pptm file

Send the saved .pptm file to users and remind them to enable macros or active content when PowerPoint prompts.

Document-level customization: A Custom UI Editor ribbon can be shared inside the .pptm file, so recipients do not need to recreate the ribbon manually.
Free Microsoft Office alternative

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.

Familiar ribbon interface for an easy transition from Microsoft PowerPointOpens and edits PowerPoint .pptx and .ppt files with high compatibilityFree to download and use, with no Microsoft 365 subscription requiredLightweight installation that runs smoothly on Windows, macOS, Android, and iOSBuilt-in PDF and presentation tools for sharing slide templates
microsoft office alternative - wps office

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.