How to Export PowerPoint Shapes and Groups as PNG Files
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.

- 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 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.
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.
Press 'ALT + F11' on your keyboard while PowerPoint is open to launch the Visual Basic for Applications (VBA) editor.
In the top menu, click 'Insert' and select 'Module' to create a blank script window.
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.
Press 'F5' or click the 'Run' button on the toolbar to execute the macro and generate the PNG files in your specified folder.

Manually Save as Picture or Export Full Slides (Mac)
Since the VBA 'Shape.Export' method is often unreliable on Mac, use manual export for specific groups or export the entire slide as a workaround.
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.

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.




