#1
|
|||
|
|||
How to align ALL pictures in ALL slides to the top?
I have created a presentation in PPT 2010 and inserted a photo album with 175 pictures on different slides. I simply want to align all the pictures on all the slides to the top of the slide. But I can find no way to do this in a "batch" way so that I don't have to manually go through all 175 slides to align the pics.
How can I align all pictures to the top of all slides at the same time?!?!?! This is the kind of thing that drives me nuts about software. You can't find the simplest things... |
#2
|
|||
|
|||
Unfortunately it is not simple. The only way would be to use vba code
Assuming you added one image per slide this code might do it Code:
Sub fix_album() Dim osld As Slide Dim opic As Shape For Each osld In ActivePresentation.Slides For Each opic In osld.Shapes If opic.Type = msoPicture Then opic.Top = 0 End If Next Next End Sub |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
1. copy just the code from line Sub fix_album to End Sub
2. Use a copy of your presentation just in case! 3. In PPT Alt f11 to open the VB editor 4. Insert >> Module 5. paste in the code 6. f5 to run the code |
#5
|
|||
|
|||
THANKS!!! That did it. Saved me tons of time.
|
#6
|
|||
|
|||
Thanks for letting us know and welcome to the world of macros!
|
#7
|
|||
|
|||
Hi, there's also a third-party app letting you to align the pictures in your PowerPoint presentation, having one or several pictures per page arranged automatically and more:
http://www.norsumarketing.com.sg/ima...powerpoint.php There is a free full featured trial version available. For aligning the pictures specifically to top, select Edit/Settings/Top Center. (Disclaimer: I am the author) Cheers, Petri |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I make VBA to "crop to fit" all pictures to picture placeholders across all slides at once? | jamesupshaw | PowerPoint | 3 | 04-28-2017 09:35 AM |
Pulling Specific Slides from a Deck to create new slides | ColinW | PowerPoint | 2 | 07-17-2015 11:30 AM |
Difference between Slides.addSlide and Slides.Add? | tinfanide | PowerPoint | 3 | 12-29-2012 11:55 PM |
Inserting slides between existing slides in 2003 | watsonstudios | PowerPoint | 1 | 05-20-2011 08:15 PM |
Can I select different pictures on different slides at the same time or | Frogggg | PowerPoint | 0 | 08-29-2010 08:43 PM |