How do I change the format of all of the pictures in a PowerPoint 2010 presentation? I know how to change the format of one picture, but there are over 40 pictures in the deck and I do not want to have to change each one manually.

The change I want to make is simple: I want to add a border to each picture. How the border is added or what it looks like doesn't matter much. Right now I am right-clicking on the picture and clicking on Format Picture/Glow and Soft Edges and adding a 5pt Glow with a transparency of 0.


This little macro will do the job for you:

Sub AddPictureBorders()
' Before running this, apply the style you want to one picture
' then use the formatting paintbrush to pick up the formatting
' This will apply the formatting to each picture.
Dim oSh As Shape
Dim oSl As Slide

For Each oSl In ActivePresentation.Slides
    For Each oSh In oSl.Shapes
        With oSh
            ' ignoring linked pictures, OLE objects
            ' and such
            If .Type = msoPicture Then
            End If
        End With

End Sub

If you want a macro-free solution, and reduced number of manual steps:

  1. Select the picture that already has your desired formatting.

  2. Press SHIFT+CTRL+C

  3. Select each picture that you want to reformat, then press SHIFT+CTRL+V

After you've done these steps once, you can select the next picture and press F4.

NOTE: In a slide, you can SHIFT-CLICK to select many pictures. Then press SHIFT+CTRL+V to apply the formatting to all of them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.