Good afternoon NaNaBoo

Originally Posted by
NaNaBoo
I now you can do this manually when you go in Format Picture and resize the image to these dimesions.
Can this be done with a code?
Yes, try recording it with the macro recorder (Tools > Macro > Record New Macro).
Remember to release the "Lock Aspect Ratio" setting. This is the code that I got (picture needs to be selected) :
Sub Macro1()
Selection.ShapeRange.LockAspectRatio = msoFalse
Selection.ShapeRange.Height = 171.75
Selection.ShapeRange.Width = 252#
End Sub
HTH
DominicB
Bookmarks