Supercharge your PowerPoint productivity with
Supercharge your PPT Productivity with PPTools - Click here to learn more.

Proud member of

PPTools

Image Export converts PowerPoint slides to high-quality images.

PPT2HTML exports HTML even from PowerPoint 2010 and 2013, gives you full control of PowerPoint HTML output, helps meet Section 508 accessibility requirements

Merge Excel data into PowerPoint presentations to create certificates, awards presentations, personalized presentations and more

Resize your presentations quickly and without distortion

Language Selector switches the text in your presentation from one language to another

FixLinks prevents broken links when you distribute PowerPoint presentations

Shape Styles brings styles to PowerPoint. Apply complex formatting with a single click.

Apply a shape's formatting to all similar shapes in presentation

Problem

You've slaved over some complex formatting. Clicks, dialog boxes, testing, more clicks .... wrist getting tired ... pulldown menus ... wrist starting to hurt .... but finally it's perfect.

Now. Apply it to the other two thousand similar shapes in the same presentation.

But wait. Before you run out for elastic bandages and Atomic Balm, try these two solutions:

Pre-baked

Check out PPTools ShapeStyles, an add-in for PowerPoint that lets you save your formatting to named styles, then apply these same styles to any other shape, in any other presentation, at any time you like. Save different sets of styles for different clients or projects. And much, much more. The free demo lets you create up to five styles.

For the do-it-yourselfer

Here's a neat bit of VBA from John Wilson & Technology Trish.

Sub PickItUp()
' Written by:     John Wilson & Technology Trish
' Select an autoshape and run and it applies that shape's 
'     format to all autoshapes.
' Select a text box, apply to all text boxes
' Select a picture with a border, apply to all pictures
' Doesn't work with placeholders or slide show items by design

    On Error GoTo ErrorHandler

    Dim oSld As Slide
    Dim oSelShp As Shape
    Dim oShp As Shape
    Dim lType As Long

    ' Results are unpredictable if you start with
    ' more than one shape selected, so don't permit it
    If ActiveWindow.Selection.ShapeRange.Count <> 1 Then
        MsgBox "Please select one and only one shape"
        Exit Sub
    End If

    ' set a reference to the selected shape
    Set oSelShp = ActiveWindow.Selection.ShapeRange(1)

    With oSelShp
        ' pick up its formatting
        .PickUp
        ' store its type
        lType = .Type

        ' Exclude placeholders
        If lType = 14 Then
            Exit Sub
        End If

        If .Fill.Type = msoFillPicture Then
            Exit Sub
        End If

        For Each oSld In ActivePresentation.Slides
            For Each oShp In oSld.Shapes
                If oShp.Type = lType Then
                    If oShp.Fill.Type <> msoFillPicture Then
                        oShp.Apply
                    End If  ' <> msoFillPicture
                End If  ' Type - lType
            Next oShp
        Next oSld
    End With    ' oSelShp

NormalExit:
    Exit Sub
ErrorHandler:
    MsgBox ("Sorry there's an error - Is anything selected?")
    Resume NormalExit:
End Sub

See How do I use VBA code in PowerPoint? to learn how to use this example code.


Did this solve your problem? If so, please consider supporting the PPT FAQ with a small PayPal donation.
Page copy protected against web site content infringement by Copyscape Contents © 1995 - 2022 Stephen Rindsberg, Rindsberg Photography, Inc. and members of the MS PowerPoint MVP team. You may link to this page but any form of unauthorized reproduction of this page's contents is expressly forbidden.

Supercharge your PPT Productivity with PPTools

content authoring & site maintenance by
Friday, the automatic faq maker (logo)
Friday - The Automatic FAQ Maker

Apply a shape's formatting to all similar shapes in presentation
http://www.pptfaq.com/FAQ00813_Apply_a_shape-s_formatting_to_all_similar_shapes_in_presentation.htm
Last update 07 June, 2011
Created: