Hi @Rapha R ,
To export multiple objects and groups as individual PNGs in PowerPoint, you can use a macro. Here are the steps to create a macro that will export each object as an individual PNG file:
- Open the PowerPoint presentation that contains the objects you want to export.
- Press "Alt + F11" to open the Visual Basic Editor.
- In the new module, paste the following code:
Sub ExportShapesAsPNGs()
Dim sld As Slide
Dim shp As Shape
Dim path As String
Dim name As String
Dim i As Integer
path = "C:\Users\Username\Desktop\"
For Each sld In ActivePresentation.Slides
For Each shp In sld.Shapes
If shp.Type <> msoPlaceholder Then
i = i + 1
name = shp.Name & ".png"
shp.Export path & name, ppShapeFormatPNG
End If
Next shp
Next sld
MsgBox i & " shapes exported as PNGs."
End Sub
- Change the "
path = "C:\Users\Username\Desktop\
" variable to the folder where you want to save the PNG files. - Press "F5" or click "Run" to run the macro. The macro will export each object as an individual PNG file in the folder you specified.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.