Picture Percentage of Slide size

  • Thread starter Thread starter Kim
  • Start date Start date
K

Kim

Using VBA I am trying to make a picture 90% of the slide size. Is this
possible? Thanx in advance!
 
Kim,
This does it for the first shape on Slide 1. You'd also probably want
to position it using a calculation using .top and .left as well.

With ActivePresentation.Slides(1).Shapes(1)
.Height = 0.9 * ActivePresentation.Slides.Range.Master.Height
.Width = 0.9 * ActivePresentation.Slides.Range.Master.Width
End With

Brian Reilly, PowerPoint MVP
 
Brian

This did not work for me but I will try again.

It'll only work if the picture is the first shape on slide number 1.

If you want it to work on the currently selected shape. change the first line
to:

With ActiveWindow.Selection.ShapeRange
 
Back
Top