I need to crop an image on a Powerpoint slide using VBA – in my particular case I’m cropping from the top and left edges.
Can anyone offer any advice?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following commands will crop 10 points off of each edge of the shape:
Note that this will crop shape number 1 on slide 1. If you want to crop the currently selected shape, use the following as the first line instead:
See additional information on the CropBottom/etc. properties here:
https://learn.microsoft.com/en-us/office/vba/api/powerpoint.pictureformat.cropbottom