![]() |
#6
|
|||
|
|||
![]()
This should work on all pics. Obviously if there is more than one pic per slide they will superimpose!
Code:
Sub fix_Pic_all() Dim opic As Shape Dim osld As Slide For Each osld In ActivePresentation.Slides For Each opic In osld.Shapes If opic.Type = msoPicture Then With opic .Left = cm2Points(9) .Top = cm2Points(3.46) .LockAspectRatio = False .Width = cm2Points(16.09) .Height = cm2Points(15.5) .Line.ForeColor.RGB = vbBlack .Line.Weight = 2 End With End If Next opic Next osld End Sub Function cm2Points(inVal As Single) cm2Points = inVal * 28.346 End Function Last edited by JohnWilson; 12-21-2011 at 01:58 AM. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Positioning drawing elements in Powerpoint | TdeV | PowerPoint | 2 | 09-20-2014 06:56 AM |
Issues formatting image behind text in Word (Mac 2008). | wildberrykt | Word | 0 | 11-23-2011 07:12 AM |
VBA PowerPoint iBrowse Urgent Help! | mike | PowerPoint | 0 | 04-04-2011 04:29 PM |
![]() |
genericusername | PowerPoint | 3 | 03-17-2011 05:43 AM |
Powerpoint + paste in image with fixed width | erki | PowerPoint | 0 | 09-19-2010 11:23 PM |