View Single Post
 
Old 09-27-2023, 12:01 AM
wuhe wuhe is offline Mac OS X Office 2019
Novice
 
Join Date: Sep 2023
Posts: 1
wuhe is on a distinguished road
Wink

Quote:
Originally Posted by flamerozzy View Post
create this macro, one click and all images on the current doc will have locked aspect ratio on:
Sub LockAspectRatioForAllImages()
Dim pic As InlineShape
For Each pic In ActiveDocument.InlineShapes
If pic.Type = wdInlineShapePicture Then
pic.LockAspectRatio = msoTrue
End If
Next pic
End Sub
Thanks so much for posting this method! It really helps me a lot!!! Have a nice day
Reply With Quote