Hi,

I am using the code:

ppApp.ActiveWindow.Selection.ShapeRange.PictureFormat.CropRight = 10
to crop the image on the slide, however it gives the possibility to crop by fixed size (10).

Is it possible to identify via VBA by how much the picture is outside the slide area and crop the image by that size?