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.

Rotate an image on every other slide

Problem

A visitor to the PowerPoint Newsgroup asked if it was possible to rotate every other page in a PowerPoint presentation 180 degrees so that when printed in book form, all of the images would be facing the same way.

Solution

One approach to solving this is to export each slide in the presentation as an image, re-import each image onto a new slide in a new blank presentation, then run this macro on it to "flip" all of the images on even numbered slides.

If you want to save some time, the PPTools Protect add-in
automatically exports and imports the images for you. All you'd need to do is run it on your presentation then run the macro on the result.

Sub SpinEm()
    Dim oSl As Slide
    Dim oSh As Shape

    For Each oSl In ActivePresentation.Slides
        If IsEven(oSl.SlideIndex) Then
            Set oSh = FirstImage(oSl)
            If Not oSh Is Nothing Then
                oSh.IncrementRotation 180
            End If
        End If
    Next
End Sub

Function IsEven(lInput As Long) As Boolean
    If lInput / 2 = lInput \ 2 Then
        IsEven = True
    Else
        IsEven = False
    End If
End Function

Function FirstImage(oSl As Slide) As Shape
    Dim oSh As Shape
    For Each oSh In oSl.Shapes
        If oSh.Type = msoPicture Then
            Set FirstImage = oSh
            Exit Function
        End If
    Next

End Function


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

Rotate an image on every other slide
http://www.pptfaq.com/FAQ01013_Rotate_an_image_on_every_other_slide.htm
Last update 07 June, 2011
Created: