logo
search
Others

How to Export PowerPoint Shapes and Groups as PNG Files

Aamir Naveed AkramAamir Naveed Akram Oct 13, 2026 870 views

Question details

The user needs a method to extract and export every shape, text box, image, and grouped object from a presentation into individual PNG files.

How to Export PowerPoint Shapes and Groups as Individual PNG Files
Product
Microsoft PowerPoint
Device & OS
Windows and Mac
Scenario
Extracting individual graphical elements and groups from a presentation for external use or design purposes.
Observed behavior
PowerPoint lacks a built-in command to batch export all shapes as separate files. While VBA macros can automate this, the object export feature is notoriously unreliable on PowerPoint for Mac, and master-slide objects require separate handling.
Before you start

Before running any VBA macros, ensure you have saved a backup copy of your presentation. If you are using PowerPoint for Mac, be aware that VBA object export functionality may fail due to system limitations.

Solution 1Recommended

Use a VBA Macro to Export Shapes as PNG (Windows)

The most efficient way to automate the export of every shape and group on Windows is by using a custom VBA macro to loop through your slides.

This solution requires basic knowledge of the PowerPoint Developer tab. The VBA script will iterate through all shapes on all standard slides and use the Shape.Export method to save them to a specified folder.

1
Open the VBA Editor

Press 'ALT + F11' on your keyboard while PowerPoint is open to launch the Visual Basic for Applications (VBA) editor.

2
Insert a New Module

In the top menu, click 'Insert' and select 'Module' to create a blank script window.

3
Add the Export Code

Paste your custom VBA script designed to loop through 'ActivePresentation.Slides' and 'Slide.Shapes'. Ensure you define a valid output directory (e.g., 'C:\ExportedShapes\') within the script.

4
Run the Macro

Press 'F5' or click the 'Run' button on the toolbar to execute the macro and generate the PNG files in your specified folder.

Use a VBA Macro to Export Shapes as PNG (Windows)
Master Slide Objects: Master-slide objects are not included in a standard slide loop. You will need a separate VBA macro targeting 'ActivePresentation.SlideMaster' to export elements from the master layout.
Free Microsoft Office alternative

Try WPS Office for Seamless Presentation Management

If you frequently encounter VBA limitations or compatibility issues on Mac with Microsoft PowerPoint, consider switching to WPS Office. WPS Presentation offers a lightweight, highly compatible environment to handle your slides, graphics, and exports without the hassle.

Fully compatible with Microsoft PowerPoint (.pptx) formats.Easily save shapes, charts, and groups as high-quality pictures.Lightweight application with cross-platform support for Windows, Mac, and Linux.Free to use with an intuitive, familiar user interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the VBA export fail on PowerPoint for Mac?

PowerPoint for Mac has different sandboxing rules and VBA support limitations compared to the Windows version. The 'Shape.Export' method is known to be unreliable or entirely broken in recent macOS and PowerPoint updates, causing the macro to crash or fail to output files.

How do I export master slide objects as PNGs?

Master slide shapes exist on a different structural layer than normal slides. You must either manually open the Slide Master view (View > Slide Master) to right-click and save objects as pictures, or write a specific VBA macro that targets 'ActivePresentation.SlideMaster'.

Is there a built-in button to export all shapes in PowerPoint?

No, Microsoft PowerPoint does not currently feature a native 'Export all shapes' command. You must either save objects individually by right-clicking them, use a custom VBA script, or rely on specialized third-party tools.

Can I use third-party add-ins to extract PowerPoint shapes?

Yes, some third-party add-ins offer advanced export features. However, popular tools like BrightSlide do not currently include a batch 'export all shapes' feature out of the box, so you may need to search for highly specialized graphic extraction tools or use the VBA method on Windows.