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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top