14
How to Resize and Center Pictures in Powerpoint 2007 By Manfred Ekblad

How To Resize And Center Pictures In Powerpoint 2007

Embed Size (px)

DESCRIPTION

Find out How To Resize and Center Pictures using a Macro in Powerpoint 2007.

Citation preview

Page 1: How To Resize And Center Pictures In Powerpoint 2007

How to Resize and Center Pictures in Powerpoint 2007

By Manfred Ekblad

Page 2: How To Resize And Center Pictures In Powerpoint 2007
Page 3: How To Resize And Center Pictures In Powerpoint 2007
Page 4: How To Resize And Center Pictures In Powerpoint 2007
Page 5: How To Resize And Center Pictures In Powerpoint 2007

Click!

Page 6: How To Resize And Center Pictures In Powerpoint 2007

1. Enter name

2. Click!

Page 7: How To Resize And Center Pictures In Powerpoint 2007
Page 8: How To Resize And Center Pictures In Powerpoint 2007

Sub resize_center()

Dim osld As SlideDim oshp As ShapeDim x As IntegerDim y As Integer

With ActivePresentation.PageSetupx = .SlideWidth / 2y = .SlideHeight / 2End With

For Each osld In ActivePresentation.SlidesFor Each oshp In osld.Shapes

If oshp.Type = msoPicture Thenoshp.LockAspectRatio = msoTrueoshp.Height = y * 2 * 0.9

If oshp.Width > x * 2 * 0.9 Thenoshp.Width = x * 2 * 0.9

End If

oshp.Left = x - (oshp.Width / 2)oshp.Top = y - (oshp.Height / 2)

End If

NextNext

End Sub

Copy…

Page 9: How To Resize And Center Pictures In Powerpoint 2007

…and paste!

Then… close!

Page 10: How To Resize And Center Pictures In Powerpoint 2007

Click!

Page 11: How To Resize And Center Pictures In Powerpoint 2007

Click!

Page 12: How To Resize And Center Pictures In Powerpoint 2007

Verify!

Page 13: How To Resize And Center Pictures In Powerpoint 2007

1. Select to save as macro-enabled

Powerpointpresentation

2. Click to save!

Page 14: How To Resize And Center Pictures In Powerpoint 2007

Finito!

Connect with me on twitter.com

http://twitter.com/SecretLaunch