Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2013, 06:46 AM
Gary Drumm Gary Drumm is offline Copy picture style to all pictures in a presentation Windows XP Copy picture style to all pictures in a presentation Office 2007
Advanced Beginner
Copy picture style to all pictures in a presentation
 
Join Date: Mar 2012
Posts: 86
Gary Drumm is on a distinguished road
Default Copy picture style to all pictures in a presentation

I've found a picture style that I like.



Is there an easy way to apply it to all of the remaining pictures (I have one picture for each slide)?

I also want to maintain the exact size and shape of that style (and subsiquetly the pictures), so that all of my slides look the same (format wise).

Thanks,
Gary

I opened the ruler, and sized each frame around the photos to the same settings.
It took a few minutes, but looks pretty good (not exact).
I'm still interested in finding a way to make it precise.
Thanks

Last edited by Gary Drumm; 04-18-2013 at 07:29 AM. Reason: One solution
Reply With Quote
  #2  
Old 04-18-2013, 09:33 AM
JohnWilson JohnWilson is offline Copy picture style to all pictures in a presentation Windows 7 64bit Copy picture style to all pictures in a presentation Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,913
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

You could double click the format painter (Home Tab) and click eech picture but that wouldn't set the size.

This code should do it:

Select the "master" picture and run

Sub makePixSame()
Dim osource As Shape
Dim osld As Slide
Dim oshp As Shape
Set osource = ActiveWindow.Selection.ShapeRange(1)
osource.PickUp
For Each osld In ActivePresentation.Slides
For Each oshp In osld.Shapes
If oshp.Type = msoPicture Then
oshp.Apply
oshp.Width = osource.Width
End If
If oshp.Type = msoPlaceholder Then
If oshp.PlaceholderFormat.ContainedType = msoPicture Then
oshp.Apply
oshp.Width = osource.Width
End If
End If
Next
Next
End Sub

How to use code
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #3  
Old 04-18-2013, 10:36 AM
Gary Drumm Gary Drumm is offline Copy picture style to all pictures in a presentation Windows XP Copy picture style to all pictures in a presentation Office 2007
Advanced Beginner
Copy picture style to all pictures in a presentation
 
Join Date: Mar 2012
Posts: 86
Gary Drumm is on a distinguished road
Default

John,
It worked great,

Thanks,
Gary
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy picture style to all pictures in a presentation Opening a presentation file opens a blank presentation raijian PowerPoint 7 10-16-2012 04:23 AM
Copy picture style to all pictures in a presentation Copy a picture canvas: layout is changed odon2007 Drawing and Graphics 1 04-29-2012 03:14 AM
Move Picture by picture name, rename picture by picture name CatMan PowerPoint 2 04-18-2012 12:21 PM
Copy picture style to all pictures in a presentation Option "Show picture placeholders" only works for inline pictures?? Fix? MattM Word 2 06-15-2011 06:33 AM
Format Picture... Is there a Style-like default? Bobosmite Word 0 07-19-2010 06:26 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft